kamorou commited on
Commit
d21ab3f
·
verified ·
1 Parent(s): ff483ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -49,14 +49,14 @@ class BasicAgent:
49
  return f"Error: {e}"
50
 
51
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
52
- class BasicAgent:
53
- def __init__(self):
54
- print("BasicAgent initialized.")
55
- def __call__(self, question: str) -> str:
56
- print(f"Agent received question (first 50 chars): {question[:50]}...")
57
- fixed_answer = "This is a default answer."
58
- print(f"Agent returning fixed answer: {fixed_answer}")
59
- return fixed_answer
60
 
61
  def run_and_submit_all( profile: gr.OAuthProfile | None):
62
  """
 
49
  return f"Error: {e}"
50
 
51
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
52
+ # class BasicAgent:
53
+ # def __init__(self):
54
+ # print("BasicAgent initialized.")
55
+ # def __call__(self, question: str) -> str:
56
+ # print(f"Agent received question (first 50 chars): {question[:50]}...")
57
+ # fixed_answer = "This is a default answer."
58
+ # print(f"Agent returning fixed answer: {fixed_answer}")
59
+ # return fixed_answer
60
 
61
  def run_and_submit_all( profile: gr.OAuthProfile | None):
62
  """