abhilash1910 commited on
Commit
46a7efb
1 Parent(s): 0aa69fd

Initial commit

Browse files
Files changed (7) hide show
  1. app.py +2 -1
  2. dog-sleepy.gif +0 -0
  3. husky_study.jpg +0 -0
  4. japan_fuji.jpg +0 -0
  5. monalisa.jpg +0 -0
  6. ny_street.jpg +0 -0
  7. 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
- iface = gr.Interface(infer, gr.inputs.Image(type="pil"), "image",title=title,description=description).launch(share=True)
 
 
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