Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
836ff97
1
Parent(s):
3950dc1
Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ def inference(img, model):
|
|
148 |
title = "JoJoGAN"
|
149 |
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."
|
150 |
|
151 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.11641' target='_blank'>JoJoGAN: One Shot Face Stylization</a>| <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>
|
152 |
|
153 |
examples=[['mona.png','Jinx']]
|
154 |
gr.Interface(inference, [gr.inputs.Image(type="filepath"),gr.inputs.Dropdown(choices=['JoJo', 'Disney','Jinx','Caitlyn','Yasuho','Arcane Multi','Art','Spider-Verse'], type="value", default='JoJo', label="Model")], gr.outputs.Image(type="file"),title=title,description=description,article=article,allow_flagging="never",examples=examples,allow_screenshot=False).launch(enable_queue=True,cache_examples=True)
|
|
|
148 |
title = "JoJoGAN"
|
149 |
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."
|
150 |
|
151 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.11641' target='_blank'>JoJoGAN: One Shot Face Stylization</a>| <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>"
|
152 |
|
153 |
examples=[['mona.png','Jinx']]
|
154 |
gr.Interface(inference, [gr.inputs.Image(type="filepath"),gr.inputs.Dropdown(choices=['JoJo', 'Disney','Jinx','Caitlyn','Yasuho','Arcane Multi','Art','Spider-Verse'], type="value", default='JoJo', label="Model")], gr.outputs.Image(type="file"),title=title,description=description,article=article,allow_flagging="never",examples=examples,allow_screenshot=False).launch(enable_queue=True,cache_examples=True)
|