jozee commited on
Commit
9decc2f
·
verified ·
1 Parent(s): bd98c73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -22
app.py CHANGED
@@ -5,24 +5,8 @@ from gradio_imageslider import ImageSlider
5
  import numpy as np
6
  import torch
7
 
8
- def process_image(input_image):
9
- """pass"""
10
-
11
- title = """<h1 align="center">AuraSR</h1>
12
- <p><center>Upscales your images to x4</center></p>
13
- <p><center>
14
- <a href="https://huggingface.co/fal/AuraSR-v2" target="_blank">[AuraSR-v2]</a>
15
- <a href="https://blog.fal.ai/introducing-aurasr-an-open-reproduction-of-the-gigagan-upscaler-2/" target="_blank">[Blog Post]</a>
16
- <a href="https://huggingface.co/fal-ai/AuraSR" target="_blank">[v1 Model Page]</a>
17
- </center></p>
18
- <br/>
19
- <p>This is an open reproduction of the GigaGAN Upscaler from fal.ai</p>
20
- """
21
-
22
  with gr.Blocks() as demo:
23
 
24
- gr.HTML(title)
25
-
26
  with gr.Row():
27
  with gr.Column(scale=1):
28
  input_image = gr.Image(label="Input Image", type="numpy")
@@ -30,10 +14,4 @@ with gr.Blocks() as demo:
30
  with gr.Column(scale=1):
31
  output_slider = ImageSlider(label="Before / After", type="numpy")
32
 
33
- process_btn.click(
34
- fn=process_image,
35
- inputs=[input_image],
36
- outputs=output_slider
37
- )
38
-
39
  demo.launch(debug=True)
 
5
  import numpy as np
6
  import torch
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  with gr.Blocks() as demo:
9
 
 
 
10
  with gr.Row():
11
  with gr.Column(scale=1):
12
  input_image = gr.Image(label="Input Image", type="numpy")
 
14
  with gr.Column(scale=1):
15
  output_slider = ImageSlider(label="Before / After", type="numpy")
16
 
 
 
 
 
 
 
17
  demo.launch(debug=True)