Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ class BasicAgent:
|
|
32 |
def __call__(self, question: str) -> str:
|
33 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
34 |
|
35 |
-
answer = agent.run(
|
36 |
"You must answer the question exactly, with a single word. For example: '4' or 'Paris'. The question is: "
|
37 |
+ question
|
38 |
)
|
|
|
32 |
def __call__(self, question: str) -> str:
|
33 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
34 |
|
35 |
+
answer = self.agent.run(
|
36 |
"You must answer the question exactly, with a single word. For example: '4' or 'Paris'. The question is: "
|
37 |
+ question
|
38 |
)
|