Aswini96 commited on
Commit
f410240
·
verified ·
1 Parent(s): c3963c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -96,7 +96,10 @@ with gr.Blocks() as app:
96
  game_output = gr.Textbox(label="AI Response", interactive=False)
97
  attempts = gr.Number(value=0, interactive=False, label="Attempts")
98
  current_level = gr.State(value=0) # Track the current level
99
-
 
 
 
100
  with gr.Row():
101
  submit_button = gr.Button("Submit")
102
  new_game_button = gr.Button("Start New Game")
 
96
  game_output = gr.Textbox(label="AI Response", interactive=False)
97
  attempts = gr.Number(value=0, interactive=False, label="Attempts")
98
  current_level = gr.State(value=0) # Track the current level
99
+
100
+ with gr.Row():
101
+ gr.Markdown(f"### {current_level+1}")
102
+
103
  with gr.Row():
104
  submit_button = gr.Button("Submit")
105
  new_game_button = gr.Button("Start New Game")