abhilash1910 commited on
Commit
7076274
1 Parent(s): ee1f13a

Add examples

Browse files
Files changed (4) hide show
  1. app.py +1 -1
  2. joined_ny_output.jpg +0 -0
  3. joined_tube_output.jpg +0 -0
  4. tube_london.jpg +0 -0
app.py CHANGED
@@ -18,6 +18,6 @@ def infer(img):
18
 
19
  title = "CartoonGAN"
20
  description = "Gradio Demo for CartoonGAN. To use it, simply upload an image."
21
- article = "<p style='text-align: center'><a href='http://openaccess.thecvf.com/content_cvpr_2018/papers/Chen_CartoonGAN_Generative_Adversarial_CVPR_2018_paper.pdf' target='_blank'>Paper</a></p> <p style='text-align: center'>samples from repo: <img src='https://imgur.com/A9pkBlR.jpg'/></p>"
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"), title=title,description=description,article=article,enable_queue=True,examples=examples).launch(share=True)
 
18
 
19
  title = "CartoonGAN"
20
  description = "Gradio Demo for CartoonGAN. To use it, simply upload an image."
21
+ article = "<p style='text-align: center'><a href='http://openaccess.thecvf.com/content_cvpr_2018/papers/Chen_CartoonGAN_Generative_Adversarial_CVPR_2018_paper.pdf' target='_blank'>Paper</a></p> <p style='text-align: center'>samples from repo: <img src='https://imgur.com/A9pkBlR.jpg'/><img src='https://imgur.com/s3YO3PB.jpg'/><img src='https://imgur.com/qExudXP.jpg'/></p>"
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"), title=title,description=description,article=article,enable_queue=True,examples=examples).launch(share=True)
joined_ny_output.jpg ADDED
joined_tube_output.jpg ADDED
tube_london.jpg ADDED