Spaces:
Runtime error
Runtime error
Modify app
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ with gr.Blocks() as demo:
|
|
| 145 |
|
| 146 |
with gr.Row():
|
| 147 |
image_input = gr.Image(type="pil", label="Charger Image")
|
| 148 |
-
operation = gr.Radio(["Négatif", "Binarisation", "Redimensionner", "Rotation", "
|
| 149 |
threshold = gr.Slider(0, 255, 128, label="Seuil de binarisation", visible=False)
|
| 150 |
width = gr.Slider(minimum=50, maximum=1000, value=100, step=10, label="Largeur", visible=False)
|
| 151 |
height = gr.Slider(minimum=50, maximum=1000, value=100, step=10, label="Hauteur", visible=False)
|
|
|
|
| 145 |
|
| 146 |
with gr.Row():
|
| 147 |
image_input = gr.Image(type="pil", label="Charger Image")
|
| 148 |
+
operation = gr.Radio(["Négatif", "Binarisation", "Redimensionner", "Rotation", "Détection de Contours", "Floutage"], label="Opération")
|
| 149 |
threshold = gr.Slider(0, 255, 128, label="Seuil de binarisation", visible=False)
|
| 150 |
width = gr.Slider(minimum=50, maximum=1000, value=100, step=10, label="Largeur", visible=False)
|
| 151 |
height = gr.Slider(minimum=50, maximum=1000, value=100, step=10, label="Hauteur", visible=False)
|