Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,10 @@ client = InferenceClient()
|
|
| 8 |
def generate_image(description: str) -> str:
|
| 9 |
"""
|
| 10 |
Generates an image based on the given text description.
|
|
|
|
| 11 |
Args:
|
| 12 |
-
description (str): The text description of the image to generate.
|
|
|
|
| 13 |
Returns:
|
| 14 |
str: A URL to the generated image.
|
| 15 |
"""
|
|
|
|
| 8 |
def generate_image(description: str) -> str:
|
| 9 |
"""
|
| 10 |
Generates an image based on the given text description.
|
| 11 |
+
|
| 12 |
Args:
|
| 13 |
+
description (str): The text description of the image to generate (e.g., "A cat sitting on a windowsill").
|
| 14 |
+
|
| 15 |
Returns:
|
| 16 |
str: A URL to the generated image.
|
| 17 |
"""
|