aijack commited on
Commit
9dd4902
1 Parent(s): f7749e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,4 +147,4 @@ description = "Gradio Demo for JoJoGAN: One Shot Face Stylization. To use it, si
147
  article = "<p style='text-align: center'><a href='http://claireye.com.tw'>Claireye</a> | 2023</p>"
148
 
149
  examples=[['pose.jpg','Art']]
150
- gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['JoJo', 'Caitlyn','Art','Sketch'], type="value", default='JoJo', label="Model")], gr.outputs.Image(type="file"),title=title,description=description,article=article,allow_flagging=False,examples=examples,allow_screenshot=False).launch()
 
147
  article = "<p style='text-align: center'><a href='http://claireye.com.tw'>Claireye</a> | 2023</p>"
148
 
149
  examples=[['pose.jpg','Art']]
150
+ gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['JoJo', 'Caitlyn','Art','Sketch'], type="value", default='JoJo', label="Model")], gr.outputs.Image(type="numpy"),title=title,description=description,article=article,allow_flagging=False,examples=examples,allow_screenshot=False).launch()