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()