Spaces:
Running
on
Zero
Running
on
Zero
Merge branch 'main' of https://huggingface.co/spaces/datajoi/datajoi-sql-agent
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def text2sql(table, query_input):
|
|
139 |
table_schema: "",
|
140 |
input_prompt: "",
|
141 |
generated_query: "",
|
142 |
-
result_output:pd.DataFrame([{"error":
|
143 |
}
|
144 |
|
145 |
schema = get_table_schema(table)
|
|
|
139 |
table_schema: "",
|
140 |
input_prompt: "",
|
141 |
generated_query: "",
|
142 |
+
result_output:pd.DataFrame([{"error": "❌ Please Select Table, Schema.}"}])
|
143 |
}
|
144 |
|
145 |
schema = get_table_schema(table)
|