Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ with gr.Blocks() as app:
|
|
83 |
descripion, _0, _1 = start_new_game()
|
84 |
gr.Markdown(descripion)
|
85 |
with gr.Row():
|
86 |
-
current_level_display = gr.Label(value=current_level, label="Current Level")
|
87 |
|
88 |
user_prompt = gr.Textbox(label="Your Prompt", placeholder="Enter your prompt here...")
|
89 |
game_output = gr.Textbox(label="AI Response", interactive=False)
|
|
|
83 |
descripion, _0, _1 = start_new_game()
|
84 |
gr.Markdown(descripion)
|
85 |
with gr.Row():
|
86 |
+
current_level_display = gr.Label(value=(current_level.value+1), label="Current Level")
|
87 |
|
88 |
user_prompt = gr.Textbox(label="Your Prompt", placeholder="Enter your prompt here...")
|
89 |
game_output = gr.Textbox(label="AI Response", interactive=False)
|