fffiloni commited on
Commit
594539b
1 Parent(s): 76a453a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"), "result.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."