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