import gradio as gr import os # Retrieve the access token from environment variables hf_token = os.getenv("HF_TOKEN") # Load the interface from the private Space with authentication interface = gr.load("AIBotsTesting/ChatBots", src="spaces") # Launch the interface interface.launch()