File size: 370 Bytes
86bde2b
 
 
be0aca6
86bde2b
 
 
5c9097c
86bde2b
 
 
 
 
 
 
 
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 = "InfoTheoryLab/LLM-Beer-Distribution-Game-private"
demo = gr.load(name=space_name, hf_token=hf_token, src="spaces")



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