Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,6 +174,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 174 |
<p style="text-align: center;">
|
| 175 |
Pixel-Aware Stable Diffusion for Realistic Image Super-resolution and Personalized Stylization
|
| 176 |
</p>
|
|
|
|
|
|
|
|
|
|
| 177 |
<p style="margin:12px auto;display: flex;justify-content: center;">
|
| 178 |
<a href="https://huggingface.co/spaces/fffiloni/PASD?duplicate=true"><img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg.svg" alt="Duplicate this Space"></a>
|
| 179 |
</p>
|
|
@@ -195,11 +198,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 195 |
with gr.Column():
|
| 196 |
b_a_slider = ImageSlider(label="B/A result", position=0.5)
|
| 197 |
file_output = gr.File(label="Downloadable image result")
|
| 198 |
-
|
| 199 |
-
<p id="project-links" align="center">
|
| 200 |
-
<a href='https://github.com/yangxy/PASD'><img src='https://img.shields.io/badge/Project-Page-Green'></a> <a href='https://huggingface.co/papers/2308.14469'><img src='https://img.shields.io/badge/Paper-Arxiv-red'></a>
|
| 201 |
-
</p>
|
| 202 |
-
""")
|
| 203 |
submit_btn.click(
|
| 204 |
fn = inference,
|
| 205 |
inputs = [
|
|
|
|
| 174 |
<p style="text-align: center;">
|
| 175 |
Pixel-Aware Stable Diffusion for Realistic Image Super-resolution and Personalized Stylization
|
| 176 |
</p>
|
| 177 |
+
<p id="project-links" align="center">
|
| 178 |
+
<a href='https://github.com/yangxy/PASD'><img src='https://img.shields.io/badge/Project-Page-Green'></a> <a href='https://huggingface.co/papers/2308.14469'><img src='https://img.shields.io/badge/Paper-Arxiv-red'></a>
|
| 179 |
+
</p>
|
| 180 |
<p style="margin:12px auto;display: flex;justify-content: center;">
|
| 181 |
<a href="https://huggingface.co/spaces/fffiloni/PASD?duplicate=true"><img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg.svg" alt="Duplicate this Space"></a>
|
| 182 |
</p>
|
|
|
|
| 198 |
with gr.Column():
|
| 199 |
b_a_slider = ImageSlider(label="B/A result", position=0.5)
|
| 200 |
file_output = gr.File(label="Downloadable image result")
|
| 201 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
submit_btn.click(
|
| 203 |
fn = inference,
|
| 204 |
inputs = [
|