Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,7 @@ def generate_caption(image):
|
|
38 |
image_size=(image.width, image.height)
|
39 |
)
|
40 |
prompt = parsed_answer["<MORE_DETAILED_CAPTION>"]
|
|
|
41 |
yield prompt, None
|
42 |
image_path = generate_image(prompt,random.randint(0, 4294967296))
|
43 |
yield prompt, image_path
|
|
|
38 |
image_size=(image.width, image.height)
|
39 |
)
|
40 |
prompt = parsed_answer["<MORE_DETAILED_CAPTION>"]
|
41 |
+
print(f'\033[1mGeneration} completed!\033[0m ({prompt})')
|
42 |
yield prompt, None
|
43 |
image_path = generate_image(prompt,random.randint(0, 4294967296))
|
44 |
yield prompt, image_path
|