geadmin commited on
Commit
119632c
·
1 Parent(s): 3e3d685

add question in error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ class BasicAgent:
27
  return result
28
  except Exception as e:
29
  print(f"Error answering {e}")
30
- return "{question[:50]} Error generating answer"
31
 
32
  def run_and_submit_all( profile: gr.OAuthProfile | None):
33
  """
 
27
  return result
28
  except Exception as e:
29
  print(f"Error answering {e}")
30
+ return f"{question[:50]} Error generating answer"
31
 
32
  def run_and_submit_all( profile: gr.OAuthProfile | None):
33
  """