Coool2 commited on
Commit
f2f7433
·
verified ·
1 Parent(s): aa2e387

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -38,10 +38,7 @@ class BasicAgent:
38
  return answer
39
 
40
  except Exception as e:
41
- print(f"Error using GAIA agent: {str(e)}")
42
- fixed_answer = "This is a default answer."
43
- print(f"Agent returning fixed answer: {fixed_answer}")
44
- return fixed_answer
45
 
46
  def run_and_submit_all( profile: gr.OAuthProfile | None):
47
  """
 
38
  return answer
39
 
40
  except Exception as e:
41
+ return e
 
 
 
42
 
43
  def run_and_submit_all( profile: gr.OAuthProfile | None):
44
  """