ksj47 commited on
Commit
35f5306
·
verified ·
1 Parent(s): aff9d4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -285,10 +285,10 @@ Answer:"""
285
  # print("Warning: Agent produced an empty answer after cleaning.")
286
  # return "Unable to generate a valid answer."
287
 
288
- return answer
289
- except Exception as e:
290
- print(f"Error during LLM call for question '{question[:50]}...': {e}")
291
- return f"AGENT_ERROR: LLM call failed. ({type(e).__name__})"
292
 
293
  def run_and_submit_all(profile: gr.OAuthProfile | None):
294
  """
 
285
  # print("Warning: Agent produced an empty answer after cleaning.")
286
  # return "Unable to generate a valid answer."
287
 
288
+ # return answer
289
+ # except Exception as e:
290
+ # print(f"Error during LLM call for question '{question[:50]}...': {e}")
291
+ # return f"AGENT_ERROR: LLM call failed. ({type(e).__name__})"
292
 
293
  def run_and_submit_all(profile: gr.OAuthProfile | None):
294
  """