Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,8 @@ def text2sql(dataset_name, query_input):
|
|
| 92 |
### Response (use duckdb shorthand if possible):
|
| 93 |
"""
|
| 94 |
try:
|
| 95 |
-
sql_output = query_remote_model(text)
|
|
|
|
| 96 |
except Exception as error:
|
| 97 |
return {
|
| 98 |
schema_output: ddl_create,
|
|
|
|
| 92 |
### Response (use duckdb shorthand if possible):
|
| 93 |
"""
|
| 94 |
try:
|
| 95 |
+
#sql_output = query_remote_model(text)
|
| 96 |
+
sql_output = query_local_model_transformers(text)
|
| 97 |
except Exception as error:
|
| 98 |
return {
|
| 99 |
schema_output: ddl_create,
|