Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -293,8 +293,8 @@ if __name__ == "__main__":
|
|
| 293 |
|
| 294 |
inputs = [
|
| 295 |
gr.inputs.Image(type="pil", label="Input Image"),
|
| 296 |
-
gr.inputs.Dropdown(["det", "seg", "inpainting", "automatic"], label="Task Type"),
|
| 297 |
gr.inputs.Textbox(label="Text Prompt", placeholder="bear . beach ."),
|
|
|
|
| 298 |
gr.inputs.Textbox(label="Inpaint Prompt", placeholder="A dinosaur, detailed, 4K."),
|
| 299 |
gr.inputs.Number(label="Box Threshold", default=0.3),
|
| 300 |
gr.inputs.Number(label="Text Threshold", default=0.25),
|
|
|
|
| 293 |
|
| 294 |
inputs = [
|
| 295 |
gr.inputs.Image(type="pil", label="Input Image"),
|
|
|
|
| 296 |
gr.inputs.Textbox(label="Text Prompt", placeholder="bear . beach ."),
|
| 297 |
+
gr.inputs.Dropdown(["det", "seg", "inpainting", "automatic"], label="Task Type"),
|
| 298 |
gr.inputs.Textbox(label="Inpaint Prompt", placeholder="A dinosaur, detailed, 4K."),
|
| 299 |
gr.inputs.Number(label="Box Threshold", default=0.3),
|
| 300 |
gr.inputs.Number(label="Text Threshold", default=0.25),
|