Spaces:
Running
on
Zero
Running
on
Zero
This PR notifies the user it upscales to x4
Browse filesI have recreated the PR because it has conflicts.
app.py
CHANGED
|
@@ -38,12 +38,15 @@ def process_image(input_image):
|
|
| 38 |
def process_image_on_gpu(pil_image):
|
| 39 |
return aura_sr.upscale_4x(pil_image)
|
| 40 |
|
| 41 |
-
title = """<h1 align="center">AuraSR
|
|
|
|
| 42 |
<p><center>
|
| 43 |
<a href="https://huggingface.co/fal/AuraSR-v2" target="_blank">[AuraSR-v2]</a>
|
| 44 |
<a href="https://blog.fal.ai/introducing-aurasr-an-open-reproduction-of-the-gigagan-upscaler-2/" target="_blank">[Blog Post]</a>
|
| 45 |
<a href="https://huggingface.co/fal-ai/AuraSR" target="_blank">[v1 Model Page]</a>
|
| 46 |
</center></p>
|
|
|
|
|
|
|
| 47 |
"""
|
| 48 |
|
| 49 |
with gr.Blocks() as demo:
|
|
@@ -53,7 +56,7 @@ with gr.Blocks() as demo:
|
|
| 53 |
with gr.Row():
|
| 54 |
with gr.Column(scale=1):
|
| 55 |
input_image = gr.Image(label="Input Image", type="numpy")
|
| 56 |
-
process_btn = gr.Button("Upscale Image")
|
| 57 |
with gr.Column(scale=1):
|
| 58 |
output_slider = ImageSlider(label="Before / After", type="numpy")
|
| 59 |
|
|
|
|
| 38 |
def process_image_on_gpu(pil_image):
|
| 39 |
return aura_sr.upscale_4x(pil_image)
|
| 40 |
|
| 41 |
+
title = """<h1 align="center">AuraSR</h1>
|
| 42 |
+
<p><center>Upscales your images to x4</center></p>
|
| 43 |
<p><center>
|
| 44 |
<a href="https://huggingface.co/fal/AuraSR-v2" target="_blank">[AuraSR-v2]</a>
|
| 45 |
<a href="https://blog.fal.ai/introducing-aurasr-an-open-reproduction-of-the-gigagan-upscaler-2/" target="_blank">[Blog Post]</a>
|
| 46 |
<a href="https://huggingface.co/fal-ai/AuraSR" target="_blank">[v1 Model Page]</a>
|
| 47 |
</center></p>
|
| 48 |
+
<br/>
|
| 49 |
+
<p>This is an open reproduction of the GigaGAN Upscaler from fal.ai</p>
|
| 50 |
"""
|
| 51 |
|
| 52 |
with gr.Blocks() as demo:
|
|
|
|
| 56 |
with gr.Row():
|
| 57 |
with gr.Column(scale=1):
|
| 58 |
input_image = gr.Image(label="Input Image", type="numpy")
|
| 59 |
+
process_btn = gr.Button(value="Upscale Image", variant = "primary")
|
| 60 |
with gr.Column(scale=1):
|
| 61 |
output_slider = ImageSlider(label="Before / After", type="numpy")
|
| 62 |
|