Mustehson commited on
Commit
bb75103
·
2 Parent(s): 2bcd76f 99f3938

Merge branch 'main' of https://huggingface.co/spaces/datajoi/datajoi-sql-agent

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": f"❌ Unable to get the SQL query based on the text. {e}"}])
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)