Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,10 +51,12 @@ def generate_line_drawing_image(description: str) -> str:
|
|
| 51 |
"""
|
| 52 |
Generates a line drawing image based on the given description.
|
| 53 |
|
| 54 |
-
Args:
|
|
|
|
|
|
|
| 55 |
|
| 56 |
Returns:
|
| 57 |
-
A URL to the generated image.
|
| 58 |
"""
|
| 59 |
try:
|
| 60 |
image_url = image_generation_tool.generate_image(
|
|
|
|
| 51 |
"""
|
| 52 |
Generates a line drawing image based on the given description.
|
| 53 |
|
| 54 |
+
Args:
|
| 55 |
+
description (str): A descriptive text prompt for the image.
|
| 56 |
+
(e.g., "A cat sitting on a windowsill", "A futuristic cityscape")
|
| 57 |
|
| 58 |
Returns:
|
| 59 |
+
str: A URL to the generated image.
|
| 60 |
"""
|
| 61 |
try:
|
| 62 |
image_url = image_generation_tool.generate_image(
|