Rahatara commited on
Commit
5bf1c20
ยท
verified ยท
1 Parent(s): bff9d60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -77,12 +77,11 @@ with gr.Blocks(title="Binary Search Game") as demo:
77
  )
78
 
79
  # Input
 
 
 
80
  user_number = gr.Number(label="Enter a number to search (1โ€“50)", value=1, precision=0)
81
  run_button = gr.Button("Run Binary Search ๐Ÿ”Ž")
82
-
83
- # Output: show the generated list
84
- list_box = gr.Textbox(label="Generated Sorted List", lines=2, interactive=False)
85
-
86
  # Step-by-step outputs
87
  gr.Markdown("### ๐Ÿ”น Search Steps:")
88
  step_boxes = [gr.Textbox(label=f"Step {i+1}", lines=1, interactive=False) for i in range(8)]
 
77
  )
78
 
79
  # Input
80
+
81
+ #show the generated list
82
+ list_box = gr.Textbox(label="Generated Sorted List", lines=2, interactive=False)
83
  user_number = gr.Number(label="Enter a number to search (1โ€“50)", value=1, precision=0)
84
  run_button = gr.Button("Run Binary Search ๐Ÿ”Ž")
 
 
 
 
85
  # Step-by-step outputs
86
  gr.Markdown("### ๐Ÿ”น Search Steps:")
87
  step_boxes = [gr.Textbox(label=f"Step {i+1}", lines=1, interactive=False) for i in range(8)]