abhilash1910 commited on
Commit
6214c72
1 Parent(s): 7076274

Add examples

Browse files
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'/><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)
 
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'/><img src='https://imgur.com/q8Udor8.jpg'/><img src='https://imgur.com/Y3JqL3Q.jpg'/><img src='https://imgur.com/qpY0Drt.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)
egypt.jpg ADDED
joined_taj_output.jpg ADDED
joined_venice_output.jpg ADDED
london_bridge.jpg ADDED
london_output.jpg ADDED
outputs/london_bridge_output.png ADDED
outputs/taj_output.png ADDED
outputs/venice_output.png ADDED
taj.jpg ADDED
venice.jpg ADDED