Spaces:
Runtime error
Runtime error
File size: 478 Bytes
37d16f6 75e2506 37d16f6 75e2506 ac5a350 37d16f6 ac5a350 75e2506 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from gradio_client import Client
import gradio as gr
client = Client("https://besarismaili-track-anything.hf.space/")
video_url = "https://github.com/besarismaili/track-anything/raw/main/video_001.mp4"
result = client.predict(video_url, api_name="/api_process_video")
predictions = client.deserialize(result)
#print(client.config)
print(predictions)
with gr.Blocks() as demo:
with gr.Row():
video = gr.Video(result)
if __name__ == "__main__":
demo.launch() |