Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def run_pipeline(image_caption, text_caption, seed, num_inference_steps, guidanc
|
|
118 |
|
119 |
image = generate_image(enhanced_caption, seed, num_inference_steps, guidance_scale)
|
120 |
|
121 |
-
return combined_caption, enhanced_caption
|
122 |
|
123 |
# Gradio interface
|
124 |
with gr.Blocks() as demo:
|
|
|
118 |
|
119 |
image = generate_image(enhanced_caption, seed, num_inference_steps, guidance_scale)
|
120 |
|
121 |
+
return image, combined_caption, enhanced_caption
|
122 |
|
123 |
# Gradio interface
|
124 |
with gr.Blocks() as demo:
|