MxeGlm commited on
Commit
d4ddb36
1 Parent(s): f0a6fc5

fix syntax error

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -25,7 +25,8 @@ def upscale(image):
25
  result = sr.upsample(image)
26
 
27
  # Save the image
28
- cv2.imwrite("./upscaled.png", result)
 
29
 
30
  iface = gr.Interface(
31
  upscale,
 
25
  result = sr.upsample(image)
26
 
27
  # Save the image
28
+ # cv2.imwrite("./upscaled.png", result)
29
+ return result
30
 
31
  iface = gr.Interface(
32
  upscale,