Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def generate_caption_and_image(image):
|
|
| 77 |
# Generate image based on the caption
|
| 78 |
generated_image = pipe(prompt).images[0]
|
| 79 |
|
| 80 |
-
return
|
| 81 |
|
| 82 |
# Gradio UI
|
| 83 |
iface = gr.Interface(
|
|
|
|
| 77 |
# Generate image based on the caption
|
| 78 |
generated_image = pipe(prompt).images[0]
|
| 79 |
|
| 80 |
+
return prompt, generated_image
|
| 81 |
|
| 82 |
# Gradio UI
|
| 83 |
iface = gr.Interface(
|