ed-donner commited on
Commit
3bcdbc2
·
1 Parent(s): da4100f

Added video and github links to screens

Browse files
Files changed (2) hide show
  1. README.md +3 -1
  2. arena/c4.py +9 -0
README.md CHANGED
@@ -38,7 +38,9 @@ If you'd like to learn more about this:
38
  4. Activate your environment with either `venv\Scripts\activate` on Windows, or `source venv/bin/activate` on Mac/Linux
39
  5. Then run `pip install -r requirements.txt` to install the packages
40
 
41
- If you wish to play with the prototype, run `jupyter lab` to launch the lab then look at the notebook **prototype.ipynb**.
 
 
42
 
43
  ## Setting up your API keys
44
 
 
38
  4. Activate your environment with either `venv\Scripts\activate` on Windows, or `source venv/bin/activate` on Mac/Linux
39
  5. Then run `pip install -r requirements.txt` to install the packages
40
 
41
+ If you wish to experiment with the prototype, run `jupyter lab` to launch the lab then look at the notebook **prototype.ipynb**.
42
+
43
+ To launch the app locally, run `python app.py`
44
 
45
  ## Setting up your API keys
46
 
arena/c4.py CHANGED
@@ -215,6 +215,11 @@ def make_display():
215
  run_button = gr.Button("Run game", variant="primary")
216
  with gr.Column(scale=1):
217
  reset_button = gr.Button("Start Over", variant="stop")
 
 
 
 
 
218
  with gr.Column(scale=1):
219
  yellow_thoughts, yellow_dropdown = player_section(
220
  "Yellow", "claude-3-5-sonnet-latest"
@@ -243,6 +248,10 @@ def make_display():
243
  max_height=800,
244
  elem_classes=["dataframe-fix"],
245
  )
 
 
 
 
246
 
247
  blocks.load(
248
  load_callback,
 
215
  run_button = gr.Button("Run game", variant="primary")
216
  with gr.Column(scale=1):
217
  reset_button = gr.Button("Start Over", variant="stop")
218
+ with gr.Row():
219
+ gr.HTML(
220
+ '<div style="text-align: center;font-size:16px">See the <a href="https://youtu.be/0OF-ChlKOQY" target="_blank" rel="noopener noreferrer">video walkthrough</a> of the code and <a href="https://github.com/ed-donner/connect" target="_blank" rel="noopener noreferrer">clone</a> the repo</div>'
221
+ )
222
+
223
  with gr.Column(scale=1):
224
  yellow_thoughts, yellow_dropdown = player_section(
225
  "Yellow", "claude-3-5-sonnet-latest"
 
248
  max_height=800,
249
  elem_classes=["dataframe-fix"],
250
  )
251
+ with gr.Row():
252
+ gr.HTML(
253
+ '<div style="text-align: center;font-size:16px">See the <a href="https://youtu.be/0OF-ChlKOQY" target="_blank" rel="noopener noreferrer">video walkthrough</a> of the code and <a href="https://github.com/ed-donner/connect" target="_blank" rel="noopener noreferrer">clone</a> the repo</div>'
254
+ )
255
 
256
  blocks.load(
257
  load_callback,