Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def inference(input_image, prompt, a_prompt, n_prompt, denoise_steps, upscale, a
|
|
128 |
# Convert and save the image as JPEG
|
129 |
input_image.save(f'input_{timestamp}.jpg', 'JPEG')
|
130 |
|
131 |
-
return (f"input_{timestamp}.jpg", f"result_{timestamp}.jpg"), "
|
132 |
|
133 |
title = "Pixel-Aware Stable Diffusion for Real-ISR"
|
134 |
description = "Gradio Demo for PASD Real-ISR. To use it, simply upload your image, or click one of the examples to load them."
|
|
|
128 |
# Convert and save the image as JPEG
|
129 |
input_image.save(f'input_{timestamp}.jpg', 'JPEG')
|
130 |
|
131 |
+
return (f"input_{timestamp}.jpg", f"result_{timestamp}.jpg"), f"result_{timestamp}.jpg"
|
132 |
|
133 |
title = "Pixel-Aware Stable Diffusion for Real-ISR"
|
134 |
description = "Gradio Demo for PASD Real-ISR. To use it, simply upload your image, or click one of the examples to load them."
|