bstraehle commited on
Commit
c8eee95
·
verified ·
1 Parent(s): 931fc30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
 
4
  from multi_agent import run_multi_agent
5
 
6
- LLM_WHITE = "gpt-3.5-turbo-0613"
7
  LLM_BLACK = "gpt-3.5-turbo-0613"
8
 
9
  def invoke(openai_api_key, num_moves = 10):
@@ -18,7 +18,7 @@ gr.close_all()
18
 
19
  demo = gr.Interface(fn = invoke,
20
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
21
- gr.Number(label = "Number of Moves", value = 3, minimum = 1, maximum = 300)],
22
  outputs = [gr.Markdown(label = "Game", value=os.environ["OUTPUT"], line_breaks=True, sanitize_html=False)],
23
  title = "Chess: AI vs. AI",
24
  description = os.environ["DESCRIPTION"])
 
3
 
4
  from multi_agent import run_multi_agent
5
 
6
+ LLM_WHITE = "gpt-4o"
7
  LLM_BLACK = "gpt-3.5-turbo-0613"
8
 
9
  def invoke(openai_api_key, num_moves = 10):
 
18
 
19
  demo = gr.Interface(fn = invoke,
20
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
21
+ gr.Number(label = "Number of Moves", value = 3, minimum = 1, maximum = 100)],
22
  outputs = [gr.Markdown(label = "Game", value=os.environ["OUTPUT"], line_breaks=True, sanitize_html=False)],
23
  title = "Chess: AI vs. AI",
24
  description = os.environ["DESCRIPTION"])