Spaces:
Build error
Build error
simayhosmeyve
commited on
Commit
•
2216322
1
Parent(s):
027cbfd
Update app.py
Browse files
app.py
CHANGED
@@ -513,7 +513,7 @@ def result(Input,Choice):
|
|
513 |
return Input
|
514 |
|
515 |
if Choice=="Enhancement":
|
516 |
-
pre_trained2 = tf.keras.models.load_model("
|
517 |
size0 = Input.shape[0]
|
518 |
size1 = Input.shape[1]
|
519 |
Input = cv2.resize(Input, (256,256), interpolation = cv2.INTER_AREA)
|
|
|
513 |
return Input
|
514 |
|
515 |
if Choice=="Enhancement":
|
516 |
+
pre_trained2 = tf.keras.models.load_model("gradio_pix2pix.h5")
|
517 |
size0 = Input.shape[0]
|
518 |
size1 = Input.shape[1]
|
519 |
Input = cv2.resize(Input, (256,256), interpolation = cv2.INTER_AREA)
|