Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ model = TransformersModel(
|
|
53 |
|
54 |
# Import tool from Hub
|
55 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
56 |
-
|
57 |
prompt_templates = yaml.safe_load(stream)
|
58 |
|
59 |
agent = CodeAgent(
|
|
|
53 |
|
54 |
# Import tool from Hub
|
55 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
56 |
+
with open("prompts.yaml", 'r') as stream:
|
57 |
prompt_templates = yaml.safe_load(stream)
|
58 |
|
59 |
agent = CodeAgent(
|