Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -311,7 +311,7 @@ if __name__ == "__main__":
|
|
311 |
["det", "seg", "inpainting", "automatic"], value="seg", label="task_type")
|
312 |
text_prompt = gr.Textbox(label="Text Prompt", placeholder="bear . beach .")
|
313 |
inpaint_prompt = gr.Textbox(label="Inpaint Prompt", placeholder="A dinosaur, detailed, 4K.")
|
314 |
-
run_button = gr.Button(
|
315 |
with gr.Accordion("Advanced options", open=False):
|
316 |
box_threshold = gr.Slider(
|
317 |
label="Box Threshold", minimum=0.0, maximum=1.0, value=0.3, step=0.001
|
|
|
311 |
["det", "seg", "inpainting", "automatic"], value="seg", label="task_type")
|
312 |
text_prompt = gr.Textbox(label="Text Prompt", placeholder="bear . beach .")
|
313 |
inpaint_prompt = gr.Textbox(label="Inpaint Prompt", placeholder="A dinosaur, detailed, 4K.")
|
314 |
+
run_button = gr.Button(value="Run")
|
315 |
with gr.Accordion("Advanced options", open=False):
|
316 |
box_threshold = gr.Slider(
|
317 |
label="Box Threshold", minimum=0.0, maximum=1.0, value=0.3, step=0.001
|