Spaces:
Runtime error
Runtime error
abhilash1910
commited on
Commit
•
6214c72
1
Parent(s):
7076274
Add examples
Browse files- app.py +1 -1
- egypt.jpg +0 -0
- joined_taj_output.jpg +0 -0
- joined_venice_output.jpg +0 -0
- london_bridge.jpg +0 -0
- london_output.jpg +0 -0
- outputs/london_bridge_output.png +0 -0
- outputs/taj_output.png +0 -0
- outputs/venice_output.png +0 -0
- taj.jpg +0 -0
- venice.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'/><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