Spaces:
Runtime error
Runtime error
Tobias Cornille
commited on
Gradio fix
Browse files
app.py
CHANGED
@@ -488,7 +488,7 @@ if __name__ == "__main__":
|
|
488 |
)
|
489 |
with gr.Row():
|
490 |
with gr.Column():
|
491 |
-
input_image = gr.Image(
|
492 |
thing_category_names_string = gr.Textbox(
|
493 |
label="Thing categories (i.e. categories with instances), comma-separated",
|
494 |
placeholder="E.g. car, bus, person",
|
|
|
488 |
)
|
489 |
with gr.Row():
|
490 |
with gr.Column():
|
491 |
+
input_image = gr.Image(sources=["upload"], type="pil")
|
492 |
thing_category_names_string = gr.Textbox(
|
493 |
label="Thing categories (i.e. categories with instances), comma-separated",
|
494 |
placeholder="E.g. car, bus, person",
|