Spaces:
Running
on
Zero
Running
on
Zero
feat: info and description
Browse files
app.py
CHANGED
|
@@ -65,10 +65,10 @@ interface = gr.Interface(
|
|
| 65 |
inputs=[
|
| 66 |
gr.Image(label="Low-light Image", type="pil"),
|
| 67 |
gr.Radio(choices=['Yes','No'],label="Image Score"),
|
| 68 |
-
gr.Radio(choices=pth_files2,label="Model Path"),
|
| 69 |
-
gr.Slider(0.1,10,label="gamma curve",step=0.01,value=1.0),
|
| 70 |
-
gr.Slider(0,2,label="Alpha-s",step=0.01,value=1.0),
|
| 71 |
-
gr.Slider(0.1,2,label="Alpha-i",step=0.01,value=1.0)
|
| 72 |
],
|
| 73 |
outputs=[
|
| 74 |
gr.Image(label="Result", type="pil"),
|
|
@@ -76,6 +76,7 @@ interface = gr.Interface(
|
|
| 76 |
gr.Textbox(label="BRISQUE")
|
| 77 |
],
|
| 78 |
title="HVI-CIDNet (Low-Light Image Enhancement)",
|
|
|
|
| 79 |
allow_flagging="never"
|
| 80 |
)
|
| 81 |
|
|
|
|
| 65 |
inputs=[
|
| 66 |
gr.Image(label="Low-light Image", type="pil"),
|
| 67 |
gr.Radio(choices=['Yes','No'],label="Image Score"),
|
| 68 |
+
gr.Radio(choices=pth_files2,label="Model Path",info="Choose your model. The best model is \"generalization.pth\"."),
|
| 69 |
+
gr.Slider(0.1,10,label="gamma curve",step=0.01,value=1.0, info="Best range is [0.5,2.5]."),
|
| 70 |
+
gr.Slider(0,2,label="Alpha-s",step=0.01,value=1.0, info="Higher is more saturated."),
|
| 71 |
+
gr.Slider(0.1,2,label="Alpha-i",step=0.01,value=1.0, info="Higher is more lighted.")
|
| 72 |
],
|
| 73 |
outputs=[
|
| 74 |
gr.Image(label="Result", type="pil"),
|
|
|
|
| 76 |
gr.Textbox(label="BRISQUE")
|
| 77 |
],
|
| 78 |
title="HVI-CIDNet (Low-Light Image Enhancement)",
|
| 79 |
+
description="The demo of paper \"You Only Need One Color Space: An Efficient Network for Low-light Image Enhancement\"",
|
| 80 |
allow_flagging="never"
|
| 81 |
)
|
| 82 |
|