File size: 358 Bytes
3f325cd
 
 
f1383cf
9238103
359752f
 
8630be2
570c7ac
9238103
 
3f325cd
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import gradio as gr
import os

# Load the Hugging Face token from environment variables
hf_token = os.getenv("HF_TOKEN")
os.environ["HUGGINGFACE_HUB_TOKEN"] = hf_token

space_name = "cl2400/LLM-Agent-Beer-Game-Simulator"
demo = gr.load(name=space_name, hf_token=hf_token, src="spaces")



# Launch the interface
if __name__ == "__main__":
    demo.launch()