Spaces:
Runtime error
Runtime error
abhilash1910
commited on
Commit
•
57f7bef
1
Parent(s):
3b36ac4
Add examples
Browse files- app.py +1 -1
- egypt.jpg +0 -0
- london_bridge.jpg +0 -0
- messi.jpg +0 -0
- outputs/dog_study_output.png +0 -0
- outputs/husky_output.png +0 -0
- outputs/japan_fuji_output.png +0 -0
- outputs/ny_street_output.png +0 -0
- outputs/tube_output.png +0 -0
- taj.jpg +0 -0
- tuscany.jpg +0 -0
- venice.jpg +0 -0
- victoria.jpg +0 -0
app.py
CHANGED
@@ -19,5 +19,5 @@ def infer(img):
|
|
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)
|
|
|
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'],['victoria.jpg'],['venice.jpg'],['london_bridge.jpg'],['tuscany.jpg'],['egypt.jpg'],['taj.jpg'],['messi.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)
|
egypt.jpg
ADDED
london_bridge.jpg
ADDED
messi.jpg
ADDED
outputs/dog_study_output.png
ADDED
outputs/husky_output.png
ADDED
outputs/japan_fuji_output.png
ADDED
outputs/ny_street_output.png
ADDED
outputs/tube_output.png
ADDED
taj.jpg
ADDED
tuscany.jpg
ADDED
venice.jpg
ADDED
victoria.jpg
ADDED