Spaces:
Runtime error
Runtime error
| 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() |