Spaces:
Running
Running
tomaseo2022
commited on
Commit
•
12571c4
1
Parent(s):
0b2df8b
Update app.py
Browse files
app.py
CHANGED
@@ -21,19 +21,19 @@ def enhance(file, brightness, contrast, saturation, gamma, hue):
|
|
21 |
|
22 |
|
23 |
|
24 |
-
title = "
|
25 |
-
description = "
|
26 |
-
article = "
|
27 |
|
28 |
iface = gr.Interface(
|
29 |
enhance,
|
30 |
[
|
31 |
gr.inputs.Image(type="file"),
|
32 |
-
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=0, label="
|
33 |
-
gr.inputs.Slider(minimum=0, maximum=4, step=0.1, default=1, label="
|
34 |
-
gr.inputs.Slider(minimum=0, maximum=4, step=0.1, default=1, label="
|
35 |
-
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=1, label="
|
36 |
-
gr.inputs.Slider(minimum=0, maximum=4, step=0.1, default=0, label="
|
37 |
],
|
38 |
"image",
|
39 |
# title=title,
|
|
|
21 |
|
22 |
|
23 |
|
24 |
+
title = "Editar Imagen"
|
25 |
+
description = ""
|
26 |
+
article = ""
|
27 |
|
28 |
iface = gr.Interface(
|
29 |
enhance,
|
30 |
[
|
31 |
gr.inputs.Image(type="file"),
|
32 |
+
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=0, label="Brillo"),
|
33 |
+
gr.inputs.Slider(minimum=0, maximum=4, step=0.1, default=1, label="Contraste"),
|
34 |
+
gr.inputs.Slider(minimum=0, maximum=4, step=0.1, default=1, label="Saturación"),
|
35 |
+
gr.inputs.Slider(minimum=0, maximum=1, step=0.1, default=1, label="Gama"),
|
36 |
+
gr.inputs.Slider(minimum=0, maximum=4, step=0.1, default=0, label="Tono"),
|
37 |
],
|
38 |
"image",
|
39 |
# title=title,
|