Abhinowww commited on
Commit
5e0c956
·
1 Parent(s): 938e9c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -202,8 +202,8 @@ def inference(img, model):
202
  title = "Capstone"
203
  description = "Capstone Project. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
204
 
205
- 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>"
206
 
207
- examples=[['mona.png','Joker']]
208
  # gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['JoJo', 'Disney','Jinx','Caitlyn','Yasuho','Arcane Multi','Art','Spider-Verse','Sketch'], type="value", default='JoJo', label="Model")], gr.outputs.Image(type="pil"),title=title,description=description,article=article,allow_flagging=False,examples=examples,allow_screenshot=False).launch()
209
- gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['Joker', 'Voldemort'], type="value", default='Joker', label="Model")], gr.outputs.Image(type="pil"),title=title,description=description,article=article,allow_flagging=False,examples=examples,allow_screenshot=False).launch()
 
202
  title = "Capstone"
203
  description = "Capstone Project. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
204
 
205
+ # 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>"
206
 
207
+ # examples=[['mona.png','Joker']]
208
  # gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['JoJo', 'Disney','Jinx','Caitlyn','Yasuho','Arcane Multi','Art','Spider-Verse','Sketch'], type="value", default='JoJo', label="Model")], gr.outputs.Image(type="pil"),title=title,description=description,article=article,allow_flagging=False,examples=examples,allow_screenshot=False).launch()
209
+ gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['Joker', 'Voldemort'], type="value", default='Joker', label="Model")], gr.outputs.Image(type="pil"),title=title,description=description,allow_flagging=False,allow_screenshot=False).launch()