File size: 408 Bytes
f400035
d3a5895
 
fc91bfb
d3a5895
f400035
 
d3a5895
fc91bfb
f400035
fc91bfb
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
import os 

#gr.Interface.load("huggingface/google/vit-base-patch16-224").launch(share=True)
read_key = os.environ.get('HF_TOKEN', None)

# Load the private Space (replace 'your-username/private-space' with your actual private Space path)
iface = gr.load("shivanis14/FastMotionDetection", hf_token=read_key, src="spaces")
print(type(iface))
# Launch the interface
iface.launch(share=True)