Update app.py
Browse files
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="
|
| 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'),
|