Spaces:
Paused
Paused
Commit
·
335d3f6
1
Parent(s):
2f2223a
Update app.py
Browse files
app.py
CHANGED
|
@@ -649,7 +649,7 @@ if __name__ == "__main__":
|
|
| 649 |
).style(preview=True, columns=[5], object_fit="scale-down", height="auto")
|
| 650 |
|
| 651 |
run_button.click(fn=run_anything_task, inputs=[
|
| 652 |
-
input_image, text_prompt,
|
| 653 |
|
| 654 |
|
| 655 |
DESCRIPTION = f'### This space is used by the experimental VideoQuest game. <br> It is based on <a href="https://huggingface.co/spaces/yizhangliu/Grounded-Segment-Anything?duplicate=true">Grounded-Segment-Anything</a>'
|
|
|
|
| 649 |
).style(preview=True, columns=[5], object_fit="scale-down", height="auto")
|
| 650 |
|
| 651 |
run_button.click(fn=run_anything_task, inputs=[
|
| 652 |
+
input_image, text_prompt, box_threshold, text_threshold, iou_threshold], outputs=[gr.outputs.JSON(), image_gallery, image_gallery], show_progress=True, queue=True)
|
| 653 |
|
| 654 |
|
| 655 |
DESCRIPTION = f'### This space is used by the experimental VideoQuest game. <br> It is based on <a href="https://huggingface.co/spaces/yizhangliu/Grounded-Segment-Anything?duplicate=true">Grounded-Segment-Anything</a>'
|