Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,10 @@ from tensorflow.keras.models import load_model
|
|
5 |
from PIL import Image
|
6 |
import matplotlib.pyplot as plt
|
7 |
|
8 |
-
inputs = gr.inputs.Image(shape=(
|
9 |
o1 = gr.outputs.Image()
|
10 |
o2 = gr.outputs.Image()
|
11 |
-
gen_model = load_model('
|
12 |
|
13 |
def colorify(pixels):
|
14 |
|
|
|
5 |
from PIL import Image
|
6 |
import matplotlib.pyplot as plt
|
7 |
|
8 |
+
inputs = gr.inputs.Image(shape=(256, 256))
|
9 |
o1 = gr.outputs.Image()
|
10 |
o2 = gr.outputs.Image()
|
11 |
+
gen_model = load_model('model256.h5')
|
12 |
|
13 |
def colorify(pixels):
|
14 |
|