Spaces:
Runtime error
Runtime error
Fix details
Browse files
app.py
CHANGED
@@ -44,12 +44,12 @@ def run_command(dataset, config, split, sql):
|
|
44 |
return result
|
45 |
|
46 |
with gr.Blocks() as demo:
|
47 |
-
gr.Markdown(" ##
|
48 |
-
dataset = gr.Textbox(label="dataset", placeholder="mstz/iris")
|
49 |
-
config = gr.Textbox(label="config", placeholder="iris")
|
50 |
-
split = gr.Textbox(label="split", placeholder="train")
|
51 |
sql = gr.Textbox(
|
52 |
-
label="Query in sql format",
|
53 |
placeholder=f"SELECT sepal_length FROM {TABLE_WILDCARD} LIMIT 3",
|
54 |
value=f"SELECT sepal_length FROM {TABLE_WILDCARD} LIMIT 3",
|
55 |
lines=3,
|
|
|
44 |
return result
|
45 |
|
46 |
with gr.Blocks() as demo:
|
47 |
+
gr.Markdown(" ## SQL Query using DuckDB for datasets server parquet files")
|
48 |
+
dataset = gr.Textbox(label="dataset", placeholder="mstz/iris", value="mstz/iris")
|
49 |
+
config = gr.Textbox(label="config", placeholder="iris", value="iris")
|
50 |
+
split = gr.Textbox(label="split", placeholder="train", value="train")
|
51 |
sql = gr.Textbox(
|
52 |
+
label="Query in sql format - It should has {table} wildcard",
|
53 |
placeholder=f"SELECT sepal_length FROM {TABLE_WILDCARD} LIMIT 3",
|
54 |
value=f"SELECT sepal_length FROM {TABLE_WILDCARD} LIMIT 3",
|
55 |
lines=3,
|