Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def predict(query :str , chat_history : List[tuple[str,str]] , invocation_type :
|
|
11 |
try:
|
12 |
res = a.create_sql_agent(query,schemas)
|
13 |
except Exception as e:
|
14 |
-
return
|
15 |
elif invocation_type == "OIC":
|
16 |
try:
|
17 |
chat = ""
|
|
|
11 |
try:
|
12 |
res = a.create_sql_agent(query,schemas)
|
13 |
except Exception as e:
|
14 |
+
return e
|
15 |
elif invocation_type == "OIC":
|
16 |
try:
|
17 |
chat = ""
|