Spaces:
Build error
Build error
tmp
Browse files
app.py
CHANGED
@@ -176,7 +176,10 @@ iface = gr.Interface(
|
|
176 |
gr.inputs.Slider(minimum=0, maximum=6, step=1, default=2, label="Scale"),
|
177 |
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=100, label="Binarization Threshold"),
|
178 |
gr.inputs.Textbox(lines=1, default="", label="Super-feature IDs to show", optional=True)],
|
179 |
-
outputs=[
|
|
|
|
|
|
|
180 |
# outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
|
181 |
title=title,
|
182 |
theme='peach',
|
@@ -184,6 +187,9 @@ iface = gr.Interface(
|
|
184 |
description=description,
|
185 |
article=article,
|
186 |
css=css,
|
187 |
-
examples=[
|
|
|
|
|
|
|
188 |
)
|
189 |
iface.launch(enable_queue=True)
|
|
|
176 |
gr.inputs.Slider(minimum=0, maximum=6, step=1, default=2, label="Scale"),
|
177 |
gr.inputs.Slider(minimum=1, maximum=255, step=25, default=100, label="Binarization Threshold"),
|
178 |
gr.inputs.Textbox(lines=1, default="", label="Super-feature IDs to show", optional=True)],
|
179 |
+
outputs=[
|
180 |
+
"plot",
|
181 |
+
"plot",
|
182 |
+
gradio.outputs.Textbox(label="SFs")],
|
183 |
# outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
|
184 |
title=title,
|
185 |
theme='peach',
|
|
|
187 |
description=description,
|
188 |
article=article,
|
189 |
css=css,
|
190 |
+
examples=[
|
191 |
+
["chateau_1.png", "chateau_2.png", 2, 100, '55,14,5,4,52,57,40,9'],
|
192 |
+
["anafi1.jpeg", "anafi2.jpeg", 2, 100, 'r8']
|
193 |
+
],
|
194 |
)
|
195 |
iface.launch(enable_queue=True)
|