File size: 288 Bytes
72f2e5a
a4201e2
72f2e5a
0ed4326
a4201e2
 
 
38e24fc
72f2e5a
 
05f0e66
a4201e2
1
2
3
4
5
6
7
8
9
10
11
12
13
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()