asoria HF staff commited on
Commit
518f556
1 Parent(s): 67fdc30

Fix details

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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(" ## DuckDB demo using parquet revision")
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,