Hu commited on
Commit
e831a7b
1 Parent(s): a5d83a9

change PIL load image

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ model.eval()
125
  # return grid
126
 
127
 
128
- def super_reso(image_path):
129
  # gradio open image as np array
130
  #image_array = np.asarray(image_path)
131
  #image = Image.fromarray(image_array, mode="RGB")
 
125
  # return grid
126
 
127
 
128
+ def super_reso(image):
129
  # gradio open image as np array
130
  #image_array = np.asarray(image_path)
131
  #image = Image.fromarray(image_array, mode="RGB")