Spaces:
Runtime error
Runtime error
Hu
commited on
Commit
•
e831a7b
1
Parent(s):
a5d83a9
change PIL load image
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ model.eval()
|
|
125 |
# return grid
|
126 |
|
127 |
|
128 |
-
def super_reso(
|
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")
|