Sujithanumala commited on
Commit
6a282ce
·
verified ·
1 Parent(s): 25cb7e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 f"{e}\t{schemas}\t{type(schemas)}\t{a.create_sql_prompt_template(schemas)}"
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 = ""