Spaces:
Runtime error
Runtime error
Commit
·
ba80bce
1
Parent(s):
6923c5b
Update app.py
Browse files
app.py
CHANGED
@@ -29,5 +29,7 @@ generated_number = generate_number()
|
|
29 |
input_text = gr.inputs.Textbox(label="Enter your guess (4-digit number)")
|
30 |
output_text = gr.outputs.Textbox()
|
31 |
|
32 |
-
iface = gr.Interface(fn=play_game, inputs=input_text, outputs=output_text, title="Bulls and Cows Game"
|
|
|
|
|
33 |
iface.launch()
|
|
|
29 |
input_text = gr.inputs.Textbox(label="Enter your guess (4-digit number)")
|
30 |
output_text = gr.outputs.Textbox()
|
31 |
|
32 |
+
iface = gr.Interface(fn=play_game, inputs=input_text, outputs=output_text, title="Bulls and Cows Game", layout="vertical",
|
33 |
+
description="Welcome to the Bulls and Cows game! Try to guess the secret 4-digit number.")
|
34 |
+
|
35 |
iface.launch()
|