Spaces:
Runtime error
Runtime error
merge
Browse files
app.py
CHANGED
|
@@ -68,17 +68,17 @@ with gr.Blocks() as block_demo:
|
|
| 68 |
image, method1, method2, image1, image2, property, image_input = refresh_comparison()
|
| 69 |
return image1, image2, f"<h2 style='font-size: 24px;'>Which one {property_dict[property]}?</h2>",\
|
| 70 |
image, method1, method2, property, image_input, request_state
|
| 71 |
-
gr.Markdown("<h2 style='font-size: 24px;'>Low-light Image Enhancer Arena 🥊</h2>")
|
| 72 |
-
gr.Markdown("<p style='font-size: 18px;'>This is a simple arena to test the performance of different low-light image enhancers.</p>")
|
| 73 |
-
gr.Markdown("<p style='font-size: 18px;'>Please help us to find the better image!</p>")
|
| 74 |
with gr.Row():
|
| 75 |
with gr.Column():
|
| 76 |
gr.Markdown("<p style='font-size: 18px;'>Common Failures:</p>")
|
| 77 |
gr.Markdown("<ul style='font-size: 14px;'>"
|
| 78 |
f"<li><strong>Artifact or Noise:</strong> - There might be unintended alterations in the image.</li>"
|
| 79 |
f"<li><strong>Unpleasant Color:</strong> - The color recovered from low-light input can be unnatural.</li>"
|
| 80 |
-
f"<li><strong>Poor Illumination:</strong> - The brightness level of the image is
|
| 81 |
-
f"<li><strong>Blury and Oversmooth:</strong> - The
|
| 82 |
"</ul>")
|
| 83 |
gr.Image('./cat.png')
|
| 84 |
img_input = gr.Image(label="Input Image")
|
|
|
|
| 68 |
image, method1, method2, image1, image2, property, image_input = refresh_comparison()
|
| 69 |
return image1, image2, f"<h2 style='font-size: 24px;'>Which one {property_dict[property]}?</h2>",\
|
| 70 |
image, method1, method2, property, image_input, request_state
|
| 71 |
+
gr.Markdown("<h2 align='center',style='font-size: 24px;'>Low-light Image Enhancer Arena 🥊</h2>")
|
| 72 |
+
gr.Markdown("<p align='center', style='font-size: 18px;'>This is a simple arena to test the performance of different low-light image enhancers.</p>")
|
| 73 |
+
gr.Markdown("<p align='center', style='font-size: 18px;'>Please help us to find the better image!</p>")
|
| 74 |
with gr.Row():
|
| 75 |
with gr.Column():
|
| 76 |
gr.Markdown("<p style='font-size: 18px;'>Common Failures:</p>")
|
| 77 |
gr.Markdown("<ul style='font-size: 14px;'>"
|
| 78 |
f"<li><strong>Artifact or Noise:</strong> - There might be unintended alterations in the image.</li>"
|
| 79 |
f"<li><strong>Unpleasant Color:</strong> - The color recovered from low-light input can be unnatural.</li>"
|
| 80 |
+
f"<li><strong>Poor Illumination:</strong> - The brightness level of the image is unsatisfying, it might be too dark or too bright.</li>"
|
| 81 |
+
f"<li><strong>Blury and Oversmooth:</strong> - The content of the image is unclear, possibly due to an overshooting denoising.</li>"
|
| 82 |
"</ul>")
|
| 83 |
gr.Image('./cat.png')
|
| 84 |
img_input = gr.Image(label="Input Image")
|