Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -224,6 +224,9 @@ def get_festivals_today(date: str = None) -> str:
|
|
224 |
final_answer = FinalAnswerTool()
|
225 |
|
226 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
|
|
|
|
227 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
228 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
229 |
|
|
|
224 |
final_answer = FinalAnswerTool()
|
225 |
|
226 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
227 |
+
|
228 |
+
with open("prompts.yaml", 'r') as stream:
|
229 |
+
prompt_templates = yaml.safe_load(stream)
|
230 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
231 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
232 |
|