Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -215,7 +215,7 @@ def enhance_image(
|
|
| 215 |
# Resize to target desired size
|
| 216 |
final_image = image.resize((w_original * upscale_factor, h_original * upscale_factor))
|
| 217 |
|
| 218 |
-
return [true_input_image, final_image, seed, generated_caption if use_generated_caption else ""
|
| 219 |
|
| 220 |
|
| 221 |
# Create Gradio interface
|
|
|
|
| 215 |
# Resize to target desired size
|
| 216 |
final_image = image.resize((w_original * upscale_factor, h_original * upscale_factor))
|
| 217 |
|
| 218 |
+
return [true_input_image, final_image], seed, generated_caption if use_generated_caption else ""
|
| 219 |
|
| 220 |
|
| 221 |
# Create Gradio interface
|