Update app.py
Browse files
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=
|
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
|