Krish45 commited on
Commit
30480d0
·
verified ·
1 Parent(s): bab2c6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,8 +93,8 @@ with gr.Blocks() as demo:
93
  )
94
 
95
  with gr.Tab("Keep Alive"):
96
- gr.Textbox(label="Ping", value="ping", interactive=False)
97
- gr.Button("Ping").click(keep_alive, inputs=None, outputs="pong")
98
 
99
  # Enable request queue (multi-user safe)
100
  demo.queue() # simple queue; compatible with current Gradio versions
 
93
  )
94
 
95
  with gr.Tab("Keep Alive"):
96
+ box = gr.Textbox(label="Ping", value="ping", interactive=False)
97
+ gr.Button("Ping").click(keep_alive, inputs=None, outputs=box)
98
 
99
  # Enable request queue (multi-user safe)
100
  demo.queue() # simple queue; compatible with current Gradio versions