cl2400's picture
activate
be0aca6
raw
history blame contribute delete
370 Bytes
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()