Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,9 +35,18 @@ def process_image(input_image):
|
|
| 35 |
result_array = np.array(upscaled_image)
|
| 36 |
|
| 37 |
return [input_image, result_array]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
with gr.Blocks() as demo:
|
| 40 |
-
|
|
|
|
|
|
|
| 41 |
with gr.Row():
|
| 42 |
with gr.Column(scale=1):
|
| 43 |
input_image = gr.Image(label="Input Image", type="numpy")
|
|
|
|
| 35 |
result_array = np.array(upscaled_image)
|
| 36 |
|
| 37 |
return [input_image, result_array]
|
| 38 |
+
|
| 39 |
+
title = """<h1 align="center">AuraSR - An open reproduction of the GigaGAN Upscaler from fal.ai</h1>
|
| 40 |
+
<p><center>
|
| 41 |
+
<a href="https://blog.fal.ai/introducing-aurasr-an-open-reproduction-of-the-gigagan-upscaler-2/" target="_blank">[Blog Post]</a>
|
| 42 |
+
<a href="https://huggingface.co/fal-ai/AuraSR" target="_blank">[Model Page]</a>
|
| 43 |
+
</center></p>
|
| 44 |
+
"""
|
| 45 |
|
| 46 |
with gr.Blocks() as demo:
|
| 47 |
+
|
| 48 |
+
gr.HTML(title)
|
| 49 |
+
|
| 50 |
with gr.Row():
|
| 51 |
with gr.Column(scale=1):
|
| 52 |
input_image = gr.Image(label="Input Image", type="numpy")
|