Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ gr.close_all()
|
|
19 |
demo = gr.Interface(fn = invoke,
|
20 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
21 |
gr.Number(label = "Number of Turns", value = 2, minimum = 1, maximum = 300)],
|
22 |
-
outputs = [gr.Markdown(label = "Game", value=os.environ["OUTPUT"], sanitize_html=False)],
|
23 |
title = "♙ AI vs. AI ♟",
|
24 |
description = os.environ["DESCRIPTION"])
|
25 |
|
|
|
19 |
demo = gr.Interface(fn = invoke,
|
20 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
21 |
gr.Number(label = "Number of Turns", value = 2, minimum = 1, maximum = 300)],
|
22 |
+
outputs = [gr.Markdown(label = "Game", value=os.environ["OUTPUT"], line_breaks=True, sanitize_html=False)],
|
23 |
title = "♙ AI vs. AI ♟",
|
24 |
description = os.environ["DESCRIPTION"])
|
25 |
|