Albannach58 commited on
Commit
07fd17d
·
verified ·
1 Parent(s): caa73da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ class BasicAgent:
15
  print("BasicAgent initialized.")
16
  def __call__(self, question: str) -> str:
17
  n = 50
18
- if (question.startswith("How many studio albums were published by Mercedes")) n = len(question)
 
19
  print(f"Agent received question (first 50 chars): {question[:n]}...")
20
  fixed_answer = "This is a default answer."
21
  print(f"Agent returning fixed answer: {fixed_answer}")
 
15
  print("BasicAgent initialized.")
16
  def __call__(self, question: str) -> str:
17
  n = 50
18
+ if (question.startswith("How many studio albums were published by Mercedes")):
19
+ n = len(question)
20
  print(f"Agent received question (first 50 chars): {question[:n]}...")
21
  fixed_answer = "This is a default answer."
22
  print(f"Agent returning fixed answer: {fixed_answer}")