hylee commited on
Commit
6a6cd09
1 Parent(s): 8af9b7c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def run(
72
 
73
  r = np.uint8(np.clip(image2np(img_hr), 0, 1) * 255)
74
 
75
- return PIL.Image(r)
76
 
77
  learn = None
78
  def main():
 
72
 
73
  r = np.uint8(np.clip(image2np(img_hr), 0, 1) * 255)
74
 
75
+ return PIL.Image.fromarray(r)
76
 
77
  learn = None
78
  def main():