FallDetection04 / app.py
shivanis14's picture
Update app.py
d3a5895 verified
raw
history blame contribute delete
408 Bytes
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)