Spaces:
Sleeping
Sleeping
Update app.py
Browse filesTest for youtube transcript agent
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class BasicAgent:
|
|
| 18 |
def __call__(self, question: str) -> str:
|
| 19 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 20 |
final_question = initial_general_instructions + agent_1_instructions + question + basic_general_instructions
|
| 21 |
-
final_answer =
|
| 22 |
print(f"Agent returning fixed answer: {final_answer}")
|
| 23 |
return final_answer
|
| 24 |
|
|
|
|
| 18 |
def __call__(self, question: str) -> str:
|
| 19 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 20 |
final_question = initial_general_instructions + agent_1_instructions + question + basic_general_instructions
|
| 21 |
+
final_answer = web_agent_1.run(final_question)
|
| 22 |
print(f"Agent returning fixed answer: {final_answer}")
|
| 23 |
return final_answer
|
| 24 |
|