cl2400 commited on
Commit
86bde2b
·
1 Parent(s): f94c758

public wrapper initial commit

Browse files
Files changed (2) hide show
  1. app.py +16 -0
  2. requirements.txt +2 -0
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import os
3
+
4
+
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
14
+ if __name__ == "__main__":
15
+ demo.launch()
16
+
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ gradio
2
+