Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,6 +78,8 @@ model = LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=os.getenv(
|
|
78 |
|
79 |
# Import tool from Hub
|
80 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
|
|
81 |
|
82 |
with open("prompts.yaml", 'r') as stream:
|
83 |
prompt_templates = yaml.safe_load(stream)
|
|
|
78 |
|
79 |
# Import tool from Hub
|
80 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
81 |
+
result = image_generation_tool("A dog sitting on a chair")
|
82 |
+
print(result)
|
83 |
|
84 |
with open("prompts.yaml", 'r') as stream:
|
85 |
prompt_templates = yaml.safe_load(stream)
|