Spaces:
Runtime error
Runtime error
harshkidzure
commited on
Commit
•
2183bb9
1
Parent(s):
746c617
Update app.py
Browse files
app.py
CHANGED
@@ -310,7 +310,7 @@ if __name__ == "__main__":
|
|
310 |
["det", "seg", "inpainting", "automatic"], value="seg", label="task_type")
|
311 |
text_prompt = gr.Textbox(label="Text Prompt", placeholder="bear . beach .")
|
312 |
inpaint_prompt = gr.Textbox(label="Inpaint Prompt", placeholder="A dinosaur, detailed, 4K.")
|
313 |
-
run_button = gr.Button(
|
314 |
with gr.Accordion("Advanced options", open=False):
|
315 |
box_threshold = gr.Slider(
|
316 |
label="Box Threshold", minimum=0.0, maximum=1.0, value=0.3, step=0.001
|
|
|
310 |
["det", "seg", "inpainting", "automatic"], value="seg", label="task_type")
|
311 |
text_prompt = gr.Textbox(label="Text Prompt", placeholder="bear . beach .")
|
312 |
inpaint_prompt = gr.Textbox(label="Inpaint Prompt", placeholder="A dinosaur, detailed, 4K.")
|
313 |
+
run_button = gr.Button()
|
314 |
with gr.Accordion("Advanced options", open=False):
|
315 |
box_threshold = gr.Slider(
|
316 |
label="Box Threshold", minimum=0.0, maximum=1.0, value=0.3, step=0.001
|