Brian Gabini
commited on
Commit
·
d680b92
1
Parent(s):
9e5ae17
fix: invalid syntax in app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ inputs=[
|
|
22 |
gr.Slider(minimum=0, maximum=1, value=0.6, label="Gamma", info="The gamma correction parameter."),
|
23 |
gr.Slider(minimum=0, maximum=1, value=0.15, label="Lambda", info="The weight for balancing the two terms in the illumination refinement optimization objective."),
|
24 |
gr.Number(value=3, minimum=0, label="Sigma", info="Spatial standard deviation for spatial affinity based Gaussian weights.")
|
25 |
-
]
|
26 |
-
outputs=["image"]
|
27 |
examples=[["demo/1.jpg"], ["demo/2.bmp"]]
|
28 |
|
29 |
def enhance_image(image, gamma, lambda_, sigma, lime=True, bc=1, bs=1, be=1, eps=1e-3):
|
|
|
22 |
gr.Slider(minimum=0, maximum=1, value=0.6, label="Gamma", info="The gamma correction parameter."),
|
23 |
gr.Slider(minimum=0, maximum=1, value=0.15, label="Lambda", info="The weight for balancing the two terms in the illumination refinement optimization objective."),
|
24 |
gr.Number(value=3, minimum=0, label="Sigma", info="Spatial standard deviation for spatial affinity based Gaussian weights.")
|
25 |
+
]
|
26 |
+
outputs=["image"]
|
27 |
examples=[["demo/1.jpg"], ["demo/2.bmp"]]
|
28 |
|
29 |
def enhance_image(image, gamma, lambda_, sigma, lime=True, bc=1, bs=1, be=1, eps=1e-3):
|