Alexis Palmer commited on
Commit
f4c9c0c
·
1 Parent(s): 679e59f

added game instructions

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -71,6 +71,9 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Ckunsa Buscar Palabra") as unscram
71
  current_word = gr.State(random_scramble(filtered_lexicon))
72
 
73
  gr.Markdown("# Ckunsa Buscar Palabra")
 
 
 
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("# Ckunsa Buscar Palabra")
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'])