Spaces:
Runtime error
Runtime error
Bob-Shih_liteon commited on
Commit ·
a1a3612
1
Parent(s): a61fdc0
modify SNR table UI
Browse files
app.py
CHANGED
|
@@ -45,14 +45,6 @@ def main():
|
|
| 45 |
create_text(
|
| 46 |
"Community : Any questions please contact us (tim.liu@liteon.com)", size=3
|
| 47 |
)
|
| 48 |
-
# Add picture here
|
| 49 |
-
with gr.Row():
|
| 50 |
-
with gr.Column(scale=1): # Empty column to create space on the left
|
| 51 |
-
pass
|
| 52 |
-
with gr.Column(scale=2): # Column containing the image
|
| 53 |
-
gr.Image(label="SNR", value="customs/SNR.png", height=260)
|
| 54 |
-
with gr.Column(scale=1): # Empty column to create space on the right
|
| 55 |
-
pass
|
| 56 |
|
| 57 |
with gr.Tab("Synthesis"):
|
| 58 |
with gr.Column():
|
|
@@ -102,6 +94,15 @@ def main():
|
|
| 102 |
|
| 103 |
image_output2 = [RealRow, OurDenoise2, SIDDDenoise2]
|
| 104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
image_button1.click(
|
| 106 |
denoise_synthesis, inputs=image_input1, outputs=image_output1
|
| 107 |
)
|
|
|
|
| 45 |
create_text(
|
| 46 |
"Community : Any questions please contact us (tim.liu@liteon.com)", size=3
|
| 47 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
with gr.Tab("Synthesis"):
|
| 50 |
with gr.Column():
|
|
|
|
| 94 |
|
| 95 |
image_output2 = [RealRow, OurDenoise2, SIDDDenoise2]
|
| 96 |
|
| 97 |
+
# Add picture here
|
| 98 |
+
create_text(
|
| 99 |
+
"Our model SNR is about 5dB higher than the SIDD model, as shown in the figure below",
|
| 100 |
+
size=3,
|
| 101 |
+
)
|
| 102 |
+
with gr.Row():
|
| 103 |
+
with gr.Column(): # Column containing the image
|
| 104 |
+
gr.Image(label="SNR", value="customs/SNR.png")
|
| 105 |
+
|
| 106 |
image_button1.click(
|
| 107 |
denoise_synthesis, inputs=image_input1, outputs=image_output1
|
| 108 |
)
|