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