Spaces:
Runtime error
Runtime error
V2
Browse files
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
app.py
CHANGED
|
@@ -5,26 +5,9 @@ import os
|
|
| 5 |
hf_token = os.getenv("HF_TOKEN")
|
| 6 |
os.environ["HUGGINGFACE_HUB_TOKEN"] = hf_token
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
# )
|
| 11 |
-
private_space_name = "cl2400/LLM-Agent-Beer-Game-Simulator"
|
| 12 |
-
demo = gr.load(name=private_space_name, hf_token=hf_token, src="spaces")
|
| 13 |
|
| 14 |
-
# demo = gr.Interface(
|
| 15 |
-
# fn=loaded_interface,
|
| 16 |
-
# inputs=loaded_interface.input_components if hasattr(loaded_interface, 'input_components') else None,
|
| 17 |
-
# outputs=loaded_interface.output_components if hasattr(loaded_interface, 'output_components') else None,
|
| 18 |
-
# # title="Beer Game Simulation",
|
| 19 |
-
# # description="Interactive beer game simulation for supply chain management learning."
|
| 20 |
-
# )
|
| 21 |
-
|
| 22 |
-
# Create a Blocks interface that embeds the loaded interface
|
| 23 |
-
# with gr.Blocks(title="Beer Game Simulation") as demo:
|
| 24 |
-
# gr.Markdown("# Beer Game Simulation")
|
| 25 |
-
# gr.Markdown("Interactive beer game simulation for supply chain management learning.")
|
| 26 |
-
|
| 27 |
-
# loaded_interface.render()
|
| 28 |
|
| 29 |
|
| 30 |
# Launch the interface
|
|
|
|
| 5 |
hf_token = os.getenv("HF_TOKEN")
|
| 6 |
os.environ["HUGGINGFACE_HUB_TOKEN"] = hf_token
|
| 7 |
|
| 8 |
+
space_name = "cl2400/LLM-Agent-Beer-Game-Simulator"
|
| 9 |
+
demo = gr.load(name=space_name, hf_token=hf_token, src="spaces")
|
|
|
|
|
|
|
|
|
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
# Launch the interface
|