Slaiwala commited on
Commit
00d4acf
·
verified ·
1 Parent(s): 65dcf65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -997,9 +997,9 @@ with gr.Blocks(theme="soft") as demo:
997
  with gate:
998
  with gr.Row():
999
  first_tb = gr.Textbox(label="First name", placeholder="e.g., Shubh", scale=1)
1000
- last_tb = gr.Textbox(label="Last name", placeholder="e.g., Laiwala", scale=1)
1001
  enter_btn = gr.Button("Enter", variant="primary")
1002
- gate_msg = gr.Markdown("", elem_classes=["text-sm"])
1003
 
1004
  # ---- App (hidden until gate passes) ----
1005
  app = gr.Group(visible=False)
@@ -1054,8 +1054,5 @@ with gr.Blocks(theme="soft") as demo:
1054
  )
1055
 
1056
  # Queue & launch (outside the Blocks)
1057
- demo.queue(concurrency_count=1, max_size=64)
1058
  demo.launch(max_threads=8)
1059
-
1060
-
1061
-
 
997
  with gate:
998
  with gr.Row():
999
  first_tb = gr.Textbox(label="First name", placeholder="e.g., Shubh", scale=1)
1000
+ last_tb = gr.Textbox(label="Last name", placeholder="e.g., Laiwala", scale=1)
1001
  enter_btn = gr.Button("Enter", variant="primary")
1002
+ gate_msg = gr.Markdown("", elem_classes=["text-sm"])
1003
 
1004
  # ---- App (hidden until gate passes) ----
1005
  app = gr.Group(visible=False)
 
1054
  )
1055
 
1056
  # Queue & launch (outside the Blocks)
1057
+ demo.queue(max_size=64)
1058
  demo.launch(max_threads=8)