Update app.py
Browse files
app.py
CHANGED
@@ -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 =
|
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"])
|
|
|
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"])
|