Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,9 +49,6 @@ model = InferenceClientModel( # FIX 3: works now because FIX 1 imported it
|
|
| 49 |
custom_role_conversions=None,
|
| 50 |
)
|
| 51 |
|
| 52 |
-
with open("prompts.yaml", 'r') as stream:
|
| 53 |
-
prompt_templates = yaml.safe_load(stream)
|
| 54 |
-
|
| 55 |
agent = CodeAgent(
|
| 56 |
model=model,
|
| 57 |
tools=[
|
|
@@ -66,7 +63,6 @@ agent = CodeAgent(
|
|
| 66 |
planning_interval=None,
|
| 67 |
name=None,
|
| 68 |
description=None,
|
| 69 |
-
prompt_templates=prompt_templates
|
| 70 |
)
|
| 71 |
|
| 72 |
GradioUI(agent).launch()
|
|
|
|
| 49 |
custom_role_conversions=None,
|
| 50 |
)
|
| 51 |
|
|
|
|
|
|
|
|
|
|
| 52 |
agent = CodeAgent(
|
| 53 |
model=model,
|
| 54 |
tools=[
|
|
|
|
| 63 |
planning_interval=None,
|
| 64 |
name=None,
|
| 65 |
description=None,
|
|
|
|
| 66 |
)
|
| 67 |
|
| 68 |
GradioUI(agent).launch()
|