Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def inference(input_image, prompt, a_prompt, n_prompt, denoise_steps, upscale, a
|
|
128 |
|
129 |
title = "Pixel-Aware Stable Diffusion for Real-ISR"
|
130 |
description = "Gradio Demo for PASD Real-ISR. To use it, simply upload your image, or click one of the examples to load them."
|
131 |
-
article = "<
|
132 |
#examples=[['samples/27d38eeb2dbbe7c9.png'],['samples/629e4da70703193b.png']]
|
133 |
|
134 |
css = """
|
@@ -152,8 +152,8 @@ with gr.Blocks(css=css) as demo:
|
|
152 |
""")
|
153 |
with gr.Row():
|
154 |
with gr.Column():
|
155 |
-
input_image = gr.Image(type="pil", sources=["upload"])
|
156 |
-
prompt_in = gr.Textbox(label="Prompt", value="
|
157 |
with gr.Accordion(label="Advanced settings", open=False):
|
158 |
added_prompt = gr.Textbox(label="Added Prompt", value='clean, high-resolution, 8k, best quality, masterpiece')
|
159 |
neg_prompt = 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')
|
|
|
128 |
|
129 |
title = "Pixel-Aware Stable Diffusion for Real-ISR"
|
130 |
description = "Gradio Demo for PASD Real-ISR. To use it, simply upload your image, or click one of the examples to load them."
|
131 |
+
article = "<a href='https://github.com/yangxy/PASD' target='_blank'>Github Repo Pytorch</a>"
|
132 |
#examples=[['samples/27d38eeb2dbbe7c9.png'],['samples/629e4da70703193b.png']]
|
133 |
|
134 |
css = """
|
|
|
152 |
""")
|
153 |
with gr.Row():
|
154 |
with gr.Column():
|
155 |
+
input_image = gr.Image(type="pil", sources=["upload"], value="samples/frog.png")
|
156 |
+
prompt_in = gr.Textbox(label="Prompt", value="Frog")
|
157 |
with gr.Accordion(label="Advanced settings", open=False):
|
158 |
added_prompt = gr.Textbox(label="Added Prompt", value='clean, high-resolution, 8k, best quality, masterpiece')
|
159 |
neg_prompt = 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')
|