davidpiscasio commited on
Commit
6d6e88e
1 Parent(s): e829814

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -68,14 +68,14 @@ gr.Interface(fn=unpaired_img2img,
68
  gr.inputs.Image(shape=(256,256))],
69
  outputs=gr.outputs.Image(type="numpy"),
70
  title="Unpaired Image to Image Translation",
71
- examples=[['Horse to Zebra',"data/horse1.jpg"],
72
- ['Horse to Zebra',"data/horse3.jpg"],
73
- ['Orange to Apple', "data/orange1.jpg"],
74
- ['Orange to Apple', "data/orange2.jpg"],
75
- ['Image to Van Gogh', "data/img1.jpg"],
76
- ['Image to Van Gogh', "data/img2.jpg"],
77
- ['Image to Monet', "data/img1.jpg"],
78
- ['Image to Monet', "data/img2.jpg"]],
79
  description="This is a PyTorch implementation of the unpaired image-to-image translation using a pretrained CycleGAN model. Kindly select first the type of translation you wish to see using the dropdown menu. Then, upload the image you wish to translate and click on the 'Submit' button.",
80
  article="To know more about Unpaired Image to Image Translation and CycleGAN, you may access their <a href = https://paperswithcode.com/paper/unpaired-image-to-image-translation-using>Papers with Code</a> page.",
81
  allow_flagging="never").launch(inbrowser=True)
 
68
  gr.inputs.Image(shape=(256,256))],
69
  outputs=gr.outputs.Image(type="numpy"),
70
  title="Unpaired Image to Image Translation",
71
+ examples=[['Horse to Zebra', "examples/horse1.jpg"],
72
+ ['Horse to Zebra', "examples/horse3.jpg"],
73
+ ['Orange to Apple', "examples/orange1.jpg"],
74
+ ['Orange to Apple', "examples/orange2.jpg"],
75
+ ['Image to Van Gogh', "examples/img1.jpg"],
76
+ ['Image to Van Gogh', "examples/img2.jpg"],
77
+ ['Image to Monet', "examples/img1.jpg"],
78
+ ['Image to Monet', "examples/img2.jpg"]],
79
  description="This is a PyTorch implementation of the unpaired image-to-image translation using a pretrained CycleGAN model. Kindly select first the type of translation you wish to see using the dropdown menu. Then, upload the image you wish to translate and click on the 'Submit' button.",
80
  article="To know more about Unpaired Image to Image Translation and CycleGAN, you may access their <a href = https://paperswithcode.com/paper/unpaired-image-to-image-translation-using>Papers with Code</a> page.",
81
  allow_flagging="never").launch(inbrowser=True)