Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
| 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() | |