Spaces:
Runtime error
Runtime error
liuyizhang
commited on
Commit
•
55742db
1
Parent(s):
4ba09fa
update app.py
Browse files- app.py +0 -1
- requirements.txt +2 -0
app.py
CHANGED
@@ -304,6 +304,5 @@ if __name__ == "__main__":
|
|
304 |
run_button.click(fn=run_grounded_sam, inputs=[
|
305 |
input_image, text_prompt, task_type, inpaint_prompt, box_threshold, text_threshold], outputs=[gallery])
|
306 |
|
307 |
-
|
308 |
# block.launch(server_name='0.0.0.0', server_port=7589, debug=args.debug, share=args.share)
|
309 |
block.launch(server_name='0.0.0.0', debug=args.debug, share=args.share)
|
|
|
304 |
run_button.click(fn=run_grounded_sam, inputs=[
|
305 |
input_image, text_prompt, task_type, inpaint_prompt, box_threshold, text_threshold], outputs=[gallery])
|
306 |
|
|
|
307 |
# block.launch(server_name='0.0.0.0', server_port=7589, debug=args.debug, share=args.share)
|
308 |
block.launch(server_name='0.0.0.0', debug=args.debug, share=args.share)
|
requirements.txt
CHANGED
@@ -19,3 +19,5 @@ torchvision
|
|
19 |
transformers
|
20 |
yapf
|
21 |
numba
|
|
|
|
|
|
19 |
transformers
|
20 |
yapf
|
21 |
numba
|
22 |
+
GroundingDINO
|
23 |
+
segment_anything
|