Spaces:
Runtime error
Runtime error
Use code component for input
Browse files
app.py
CHANGED
|
@@ -18,5 +18,5 @@ examples = [
|
|
| 18 |
]
|
| 19 |
css = "#component-4{display: block;}"
|
| 20 |
description = "Run SQL queries on the HuggingFaceFW/fineweb dataset"
|
| 21 |
-
demo = gr.Interface(fn=greet, inputs="
|
| 22 |
demo.launch()
|
|
|
|
| 18 |
]
|
| 19 |
css = "#component-4{display: block;}"
|
| 20 |
description = "Run SQL queries on the HuggingFaceFW/fineweb dataset"
|
| 21 |
+
demo = gr.Interface(fn=greet, inputs=gr.Code(language="sql", lines=10), outputs="dataframe", examples=examples, cache_examples=False, description=description, css=css)
|
| 22 |
demo.launch()
|