Ahsen Khaliq commited on
Commit
191f30c
1 Parent(s): 7f6bf20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def inference(img):
88
  title = "JojoGAN"
89
  description = "Gradio Demo for JoJoGAN: One Shot Face Stylization. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
90
 
91
- article = "<p style='text-align: center'><a href='https://github.com/mchong6/JoJoGAN' target='_blank'>Github Repo Pytorch</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_jojogan' alt='visitor badge'></center> <p style='text-align: center'>samples from repo: <img src='https://github.com/mchong6/JoJoGAN/blob/main/teaser.jpg' alt='animation'/></p>"
92
 
93
  examples=[['iu.jpeg']]
94
  gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="numpy"),title=title,description=description,article=article,enable_queue=True,allow_flagging=False,examples=examples).launch()
 
88
  title = "JojoGAN"
89
  description = "Gradio Demo for JoJoGAN: One Shot Face Stylization. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
90
 
91
+ article = "<p style='text-align: center'><a href='https://github.com/mchong6/JoJoGAN' target='_blank'>Github Repo Pytorch</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_jojogan' alt='visitor badge'></center> <p style='text-align: center'>samples from repo: <img src='https://raw.githubusercontent.com/mchong6/JoJoGAN/main/teaser.jpg' alt='animation'/></p>"
92
 
93
  examples=[['iu.jpeg']]
94
  gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="numpy"),title=title,description=description,article=article,enable_queue=True,allow_flagging=False,examples=examples).launch()