Spaces:
Build error
Build error
temp
Browse files
app.py
CHANGED
@@ -155,11 +155,11 @@ iface = gr.Interface(
|
|
155 |
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=50, label="Binarization Threshold")],
|
156 |
outputs="plot",
|
157 |
# outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
|
158 |
-
enable_queue=True,
|
159 |
title=title,
|
|
|
160 |
description=description,
|
161 |
article=article,
|
162 |
css=css,
|
163 |
examples=[["chateau_1.png", "chateau_2.png", 2, 50]],
|
164 |
)
|
165 |
-
iface.
|
|
|
155 |
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=50, label="Binarization Threshold")],
|
156 |
outputs="plot",
|
157 |
# outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
|
|
|
158 |
title=title,
|
159 |
+
layout="horizontal",
|
160 |
description=description,
|
161 |
article=article,
|
162 |
css=css,
|
163 |
examples=[["chateau_1.png", "chateau_2.png", 2, 50]],
|
164 |
)
|
165 |
+
iface.launch(enable_queue=True)
|