Spaces:
Runtime error
Runtime error
abhilash1910
commited on
Commit
•
46a7efb
1
Parent(s):
0aa69fd
Initial commit
Browse files- app.py +2 -1
- dog-sleepy.gif +0 -0
- husky_study.jpg +0 -0
- japan_fuji.jpg +0 -0
- monalisa.jpg +0 -0
- ny_street.jpg +0 -0
- tube_london.jpg +0 -0
app.py
CHANGED
@@ -18,4 +18,5 @@ def infer(img):
|
|
18 |
|
19 |
title = "CartoonGAN"
|
20 |
description = "Gradio Demo for CartoonGAN. To use it, simply upload an image."
|
21 |
-
|
|
|
|
18 |
|
19 |
title = "CartoonGAN"
|
20 |
description = "Gradio Demo for CartoonGAN. To use it, simply upload an image."
|
21 |
+
examples=[['ny_street.jpg'],['husky_study.jpg'],['tube_london.jpg'],['monalisa.jpg'],['dog-sleepy.gif'],['japan_fuji.jpg']]
|
22 |
+
gr.Interface(infer, [gr.inputs.Image(type="pil")], gr.output.Image(type="pil"), "image",title=title,description=description).launch(share=True)
|
dog-sleepy.gif
ADDED
husky_study.jpg
ADDED
japan_fuji.jpg
ADDED
monalisa.jpg
ADDED
ny_street.jpg
ADDED
tube_london.jpg
ADDED