Ahsen Khaliq commited on
Commit
7e85424
·
1 Parent(s): cc5dce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def inference(image):
16
  return Image.fromarray(np.uint8(result[0])[:,:,::-1]).convert('RGB')
17
 
18
  title = "UGATIT-selfie2anime"
19
- description = "Gradio demo for DeOldify. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
20
- article = "<p style='text-align: center'><a href='https://github.com/jantic/DeOldify' target='_blank'>Github Repo</a></p>"
21
  examples=[['pearl.png']]
22
  iface = gr.Interface(inference, inputs=gr.inputs.Image(type="file"), outputs=gr.outputs.Image(type="pil"),examples=examples,enable_queue=True,title=title,article=article,description=description)
23
  iface.launch()
 
16
  return Image.fromarray(np.uint8(result[0])[:,:,::-1]).convert('RGB')
17
 
18
  title = "UGATIT-selfie2anime"
19
+ description = "Gradio demo for UGATIT-selfie2anime. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
20
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1907.10830' target='_blank'>U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation</a> | <a href='https://github.com/taki0112/UGATIT' target='_blank'>Github Repo</a></p>"
21
  examples=[['pearl.png']]
22
  iface = gr.Interface(inference, inputs=gr.inputs.Image(type="file"), outputs=gr.outputs.Image(type="pil"),examples=examples,enable_queue=True,title=title,article=article,description=description)
23
  iface.launch()