Spaces:
Runtime error
Runtime error
Commit
·
1d2d9ef
1
Parent(s):
babd837
Update app.py
Browse files
app.py
CHANGED
@@ -18,5 +18,5 @@ def generate_image(input_img):
|
|
18 |
method=tf.image.ResizeMethod.NEAREST_NEIGHBOR)
|
19 |
out_img = out_img.numpy()*0.5 + 0.5
|
20 |
return out_img
|
21 |
-
app = gr.Interface(fn = generate_image, inputs="image", outputs="image")
|
22 |
app.launch(debug=False)
|
|
|
18 |
method=tf.image.ResizeMethod.NEAREST_NEIGHBOR)
|
19 |
out_img = out_img.numpy()*0.5 + 0.5
|
20 |
return out_img
|
21 |
+
app = gr.Interface(fn = generate_image, inputs="image", outputs="image",examples=['pix2pix-example1.jpg','pix2pix-example2.jpg','pix2pix-example3.jpg','pix2pix-example4.jpg'])
|
22 |
app.launch(debug=False)
|