Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -22,6 +22,7 @@ css = """#col-container {max-width: 90%; margin-left: auto; margin-right: auto;
|
|
22 |
.message-wrap {max-height: min(600px, 100vh);}
|
23 |
"""
|
24 |
|
|
|
25 |
|
26 |
DEFAULT_BACKEND = "openai-chat"
|
27 |
DEFAULT_ENV = "conversation"
|
@@ -166,7 +167,8 @@ Prompting multiple AI agents to play games in a language-driven environment.
|
|
166 |
with gr.Row():
|
167 |
btn_step = gr.Button("Start")
|
168 |
btn_restart = gr.Button("Clear")
|
169 |
-
gr.HTML(
|
|
|
170 |
|
171 |
all_components += [human_input_textbox, btn_step, btn_restart]
|
172 |
|
@@ -372,4 +374,4 @@ Prompting multiple AI agents to play games in a language-driven environment.
|
|
372 |
example_selector.change(update_components_from_example, set(all_components + [state]), all_components + [state])
|
373 |
|
374 |
demo.queue(concurrency_count=32) # To improve concurrency
|
375 |
-
demo.launch(debug=
|
|
|
22 |
.message-wrap {max-height: min(600px, 100vh);}
|
23 |
"""
|
24 |
|
25 |
+
DEBUG = True
|
26 |
|
27 |
DEFAULT_BACKEND = "openai-chat"
|
28 |
DEFAULT_ENV = "conversation"
|
|
|
167 |
with gr.Row():
|
168 |
btn_step = gr.Button("Start")
|
169 |
btn_restart = gr.Button("Clear")
|
170 |
+
gr.HTML(
|
171 |
+
"""<div style="text-align:center"><p><small>By clicking the "Start" button above, you consent to the collection and use of your input data for research purposes.</small></p></dev>""")
|
172 |
|
173 |
all_components += [human_input_textbox, btn_step, btn_restart]
|
174 |
|
|
|
374 |
example_selector.change(update_components_from_example, set(all_components + [state]), all_components + [state])
|
375 |
|
376 |
demo.queue(concurrency_count=32) # To improve concurrency
|
377 |
+
demo.launch(debug=DEBUG)
|