| import os | |
| import gradio as gr | |
| # Load the components from the private Space | |
| loaded_components = gr.load( | |
| "spaces/OptiPose/JavePose_private", | |
| hf_token=os.environ["HUGGINGFACE_TOKEN"] | |
| ) | |
| # Launch the loaded components directly | |
| loaded_components.launch() |
| import os | |
| import gradio as gr | |
| # Load the components from the private Space | |
| loaded_components = gr.load( | |
| "spaces/OptiPose/JavePose_private", | |
| hf_token=os.environ["HUGGINGFACE_TOKEN"] | |
| ) | |
| # Launch the loaded components directly | |
| loaded_components.launch() |