mirror of
https://github.com/gaomingqi/Track-Anything.git
synced 2025-12-16 08:27:49 +01:00
app_v1
This commit is contained in:
8
app.py
8
app.py
@@ -14,7 +14,6 @@ with gr.Blocks() as iface:
|
|||||||
with gr.Row():
|
with gr.Row():
|
||||||
with gr.Column(scale=1.0):
|
with gr.Column(scale=1.0):
|
||||||
seg_automask_video_file = gr.Video().style(height=720)
|
seg_automask_video_file = gr.Video().style(height=720)
|
||||||
gr.Video.g
|
|
||||||
seg_automask_video_file.play(fn=play_video)
|
seg_automask_video_file.play(fn=play_video)
|
||||||
seg_automask_video_file.pause(fn=pause_video)
|
seg_automask_video_file.pause(fn=pause_video)
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
@@ -77,13 +76,6 @@ with gr.Blocks() as iface:
|
|||||||
# outputs=[output_video],
|
# outputs=[output_video],
|
||||||
# )
|
# )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
iface.queue(concurrency_count=1)
|
iface.queue(concurrency_count=1)
|
||||||
iface.launch(debug=True, enable_queue=True, server_port=12212, server_name="0.0.0.0")
|
iface.launch(debug=True, enable_queue=True, server_port=12212, server_name="0.0.0.0")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user