Minor bug fixes to get gradio demo running at current gradio version. (#50)

This commit is contained in:
Forrester Cole 2023-12-21 09:44:32 -05:00 committed by GitHub
parent 8d36403197
commit 3df96621ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,9 +82,9 @@ app = gr.Interface(
fn=cotracker_demo,
inputs=[
gr.Video(type="file", label="Input video", interactive=True),
gr.Video(label="Input video", interactive=True),
gr.Slider(minimum=1, maximum=30, step=1, value=10, label="Grid Size"),
gr.Slider(minimum=0, maximum=30, step=1, default=0, label="Grid Query Frame"),
gr.Slider(minimum=0, maximum=30, step=1, value=0, label="Grid Query Frame"),
gr.Checkbox(label="Backward Tracking"),
gr.Checkbox(label="Visualize Track Traces"),
],