Spaces:
Sleeping
Sleeping
Alexis Palmer
commited on
Commit
•
b21eeb3
1
Parent(s):
ca2ea21
added game instructions
Browse files
app.py
CHANGED
@@ -71,6 +71,9 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Simita Tariy") as unscramble:
|
|
71 |
current_word = gr.State(random_scramble(filtered_lexicon))
|
72 |
|
73 |
gr.Markdown("# Simita Tariy")
|
|
|
|
|
|
|
74 |
|
75 |
# Notice how we set the initial value based on the State
|
76 |
scrambled_textbox = gr.Textbox(label="Crucigrama", interactive=False, value=current_word.value['shuffled'])
|
|
|
71 |
current_word = gr.State(random_scramble(filtered_lexicon))
|
72 |
|
73 |
gr.Markdown("# Simita Tariy")
|
74 |
+
|
75 |
+
instructions_textbox = gr.Textbox(label="Instrucciones", interactive=False, value="Este juego es el 'Crucigrama', en este encontrarás una serie de letras desordenadas que conforman una palabra. Tu tarea es hallar el orden correcto de esta. ¡Mucho éxito!")
|
76 |
+
|
77 |
|
78 |
# Notice how we set the initial value based on the State
|
79 |
scrambled_textbox = gr.Textbox(label="Crucigrama", interactive=False, value=current_word.value['shuffled'])
|