Spaces:
Build error
Build error
Commit
•
92dbeaa
1
Parent(s):
0c9992e
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ def result(Input,Choice,Step):
|
|
186 |
Input = np.array(Input).reshape(1,256,256,3)
|
187 |
prediction = pre_trained2(Input,training=True)
|
188 |
Input = prediction[0]
|
189 |
-
Input = (Input+1)*127.5
|
190 |
Input = np.uint8(Input)
|
191 |
Input = cv2.resize(Input, (size1,size0), interpolation = cv2.INTER_AREA)
|
192 |
Psnr = 50
|
|
|
186 |
Input = np.array(Input).reshape(1,256,256,3)
|
187 |
prediction = pre_trained2(Input,training=True)
|
188 |
Input = prediction[0]
|
189 |
+
#Input = (Input+1)*127.5
|
190 |
Input = np.uint8(Input)
|
191 |
Input = cv2.resize(Input, (size1,size0), interpolation = cv2.INTER_AREA)
|
192 |
Psnr = 50
|