fffiloni commited on
Commit
ff25d61
1 Parent(s): 03d51d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ article = "<p style='text-align: center'><a href='https://github.com/yangxy/PASD
126
 
127
  demo = gr.Interface(
128
  fn=inference,
129
- inputs=[gr.Image(type="filepath", sources=["upload"]),
130
  gr.Textbox(label="Prompt", value="Asian"),
131
  gr.Textbox(label="Added Prompt", value='clean, high-resolution, 8k, best quality, masterpiece'),
132
  gr.Textbox(label="Negative Prompt",value='dotted, noise, blur, lowres, oversmooth, longbody, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality'),
 
126
 
127
  demo = gr.Interface(
128
  fn=inference,
129
+ inputs=[gr.Image(type="pil", sources=["upload"]),
130
  gr.Textbox(label="Prompt", value="Asian"),
131
  gr.Textbox(label="Added Prompt", value='clean, high-resolution, 8k, best quality, masterpiece'),
132
  gr.Textbox(label="Negative Prompt",value='dotted, noise, blur, lowres, oversmooth, longbody, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality'),