abhilash1910 commited on
Commit
3b36ac4
1 Parent(s): 2697299

Initial commit

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,5 +18,6 @@ def infer(img):
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.outputs.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
+
22
  examples=[['ny_street.jpg'],['husky_study.jpg'],['tube_london.jpg'],['monalisa.jpg'],['dog-sleepy.gif'],['japan_fuji.jpg']]
23
+ gr.Interface(infer, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="pil"), "image",title=title,description=description,enable_queue=True,examples=examples).launch(share=True)