Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,8 @@ def generate_image(description: str) -> str:
|
|
| 55 |
Generates an image based on the given text description.
|
| 56 |
|
| 57 |
Args:
|
| 58 |
-
description (str): The text description of the image to generate.
|
|
|
|
| 59 |
|
| 60 |
Returns:
|
| 61 |
str: A URL to the generated image.
|
|
@@ -108,4 +109,3 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 108 |
GradioUI(agent).launch()
|
| 109 |
|
| 110 |
|
| 111 |
-
|
|
|
|
| 55 |
Generates an image based on the given text description.
|
| 56 |
|
| 57 |
Args:
|
| 58 |
+
description (str): The text description of the image to generate.
|
| 59 |
+
(e.g., "A cat sitting on a windowsill", "A futuristic cityscape")
|
| 60 |
|
| 61 |
Returns:
|
| 62 |
str: A URL to the generated image.
|
|
|
|
| 109 |
GradioUI(agent).launch()
|
| 110 |
|
| 111 |
|
|
|