Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,7 +125,8 @@ alfred_agent = agent.from_hub('sergiopaniego/AlfredAgent', trust_remote_code=Tru
|
|
| 125 |
|
| 126 |
with open("prompts.yaml", 'r') as stream:
|
| 127 |
prompt_templates = yaml.safe_load(stream)
|
| 128 |
-
|
|
|
|
| 129 |
agent = CodeAgent(
|
| 130 |
model=model,
|
| 131 |
tools=[alfred_agent], ## add your tools here (don't remove final answer) #1-final_answer #2-get_hugging_face_top_daily_paper #3-get_current_time_in_timezone
|
|
@@ -137,6 +138,6 @@ agent = CodeAgent(
|
|
| 137 |
description=None,
|
| 138 |
prompt_templates=prompt_templates
|
| 139 |
)
|
|
|
|
| 140 |
|
| 141 |
-
|
| 142 |
-
GradioUI(agent).launch()
|
|
|
|
| 125 |
|
| 126 |
with open("prompts.yaml", 'r') as stream:
|
| 127 |
prompt_templates = yaml.safe_load(stream)
|
| 128 |
+
|
| 129 |
+
"""
|
| 130 |
agent = CodeAgent(
|
| 131 |
model=model,
|
| 132 |
tools=[alfred_agent], ## add your tools here (don't remove final answer) #1-final_answer #2-get_hugging_face_top_daily_paper #3-get_current_time_in_timezone
|
|
|
|
| 138 |
description=None,
|
| 139 |
prompt_templates=prompt_templates
|
| 140 |
)
|
| 141 |
+
"""
|
| 142 |
|
| 143 |
+
GradioUI(alfred_agent).launch()
|
|
|