Commit
e5ae8cb
1 Parent(s): 56839e6

This PR notifies the user it upscales to x4 (#4)

Browse files

- This PR notifies the user it upscales to x4 (ca6ac7458ce34fb29ca4055449e5e5242fe913ae)


Co-authored-by: Fabrice TIERCELIN <Fabrice-TIERCELIN@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +5 -2
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-v2 - An open reproduction of the GigaGAN Upscaler from fal.ai</h1>
 
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