Spaces:
Build error
Build error
Update app.py
Browse files75 unmodified lines767778798081822 unmodified lines8586878889909175 unmodified linesddl_create = result.iloc[0,0]text = f"""### Instruction:Your task is to generate valid duckdb SQL to answer the following question.### Input:Here is the database schema that the SQL query will run on:2 unmodified lines### Question:{query_input}### Response (use duckdb shorthand if possible) replace all "data" table references with {first_parquet_url} in the generated sql query:"""try:sql_output = query_remote_model(text)75 unmodified lines767778798081822 unmodified lines8586878889909175 unmodified linesddl_create = result.iloc[0,0]text = f"""### Instruction:Your task is to generate valid duckdb SQL to answer the following question. The SQL output should replace all table names with parquet file {first_parquet_url}### Input:Here is the database schema that the SQL query will run on:2 unmodified lines### Question:{query_input}### Response (use duckdb shorthand if possible) replace all table names with {first_parquet_url} in the generated sql query:"""try:sql_output = query_remote_model(text)
app.py+2-2