Synnove commited on
Commit
dbc02a6
·
verified ·
1 Parent(s): e1e3780

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,9 +51,9 @@ class BasicCodeAgent:
51
  def __call__(self, question: str) -> str:
52
  print(f"BasicCodeAgent received question (first 50 chars): {question[:50]}...")
53
  fixed_answer = "This is a default answer."
54
- answer = self.agent.run(question)
55
  print(f"BasicCodeAgent returning fixed answer: {fixed_answer}")
56
- return answer
57
 
58
  def run_and_submit_all( profile: gr.OAuthProfile | None):
59
  """
 
51
  def __call__(self, question: str) -> str:
52
  print(f"BasicCodeAgent received question (first 50 chars): {question[:50]}...")
53
  fixed_answer = "This is a default answer."
54
+ #answer = self.agent.run(question)
55
  print(f"BasicCodeAgent returning fixed answer: {fixed_answer}")
56
+ return fixed_answer
57
 
58
  def run_and_submit_all( profile: gr.OAuthProfile | None):
59
  """