Spaces:
Runtime error
Runtime error
Commit
·
0384c90
1
Parent(s):
3e323c0
talk less
Browse files
app.py
CHANGED
|
@@ -218,34 +218,25 @@ class GameFlow:
|
|
| 218 |
def create_app_inner():
|
| 219 |
### layout
|
| 220 |
gr.Markdown("# Tangram Multi-Reference Game")
|
| 221 |
-
gr.Markdown(
|
| 222 |
-
'### You will be playing a multi-reference games against a model. \
|
| 223 |
-
To start a game, first select whether you wish to play against our \
|
| 224 |
-
initial trained model ("Initial System") or \
|
| 225 |
-
our model at the end of continual learning ("Final System") \
|
| 226 |
-
and press the "Start Game" button.')
|
| 227 |
|
| 228 |
gr.Markdown(
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
|
|
|
| 233 |
Correctly selected targets have green borders. \
|
| 234 |
Incorrectly selected targets have red borders. \
|
| 235 |
Actions are marked with yellow dot. \
|
| 236 |
-
The
|
| 237 |
-
|
| 238 |
-
gr.Markdown(
|
| 239 |
-
'### Press "Send" to submit your action to proceed to the next turn. \
|
| 240 |
-
You have 10 turns in total.')
|
| 241 |
|
| 242 |
with gr.Row():
|
| 243 |
model_iteration = gr.Radio(["Initial System", "Final System"],
|
| 244 |
label="Model Iteration",
|
| 245 |
value="Final System")
|
| 246 |
start_btn = gr.Button("Start Game")
|
| 247 |
-
status = gr.Textbox(label="Status", interactive=False,
|
| 248 |
-
text_align="center", value="
|
| 249 |
|
| 250 |
with gr.Row():
|
| 251 |
image_output = gr.Gallery(
|
|
|
|
| 218 |
def create_app_inner():
|
| 219 |
### layout
|
| 220 |
gr.Markdown("# Tangram Multi-Reference Game")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 221 |
|
| 222 |
gr.Markdown(
|
| 223 |
+
"Your goal is to describe the target tangrams (with black borders) \
|
| 224 |
+
by sending messages in the textbox. \
|
| 225 |
+
You have 10 turns to complete the game.")
|
| 226 |
+
|
| 227 |
+
gr.Markdown("Targets have black borders. \
|
| 228 |
Correctly selected targets have green borders. \
|
| 229 |
Incorrectly selected targets have red borders. \
|
| 230 |
Actions are marked with yellow dot. \
|
| 231 |
+
The model cannot see boxes or colors and the order is different.")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
|
| 233 |
with gr.Row():
|
| 234 |
model_iteration = gr.Radio(["Initial System", "Final System"],
|
| 235 |
label="Model Iteration",
|
| 236 |
value="Final System")
|
| 237 |
start_btn = gr.Button("Start Game")
|
| 238 |
+
status = gr.Textbox(label="Status", interactive=False,
|
| 239 |
+
text_align="center", value='Press "Start Game"')
|
| 240 |
|
| 241 |
with gr.Row():
|
| 242 |
image_output = gr.Gallery(
|