Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,6 +34,7 @@ with gr.Blocks() as demo:
|
|
| 34 |
with gr.Row():
|
| 35 |
refresh = gr.Button("Refresh").click(fn=check_status, outputs=status_box)
|
| 36 |
reset = gr.Button("Reset Status").click(fn=reset_status, outputs=[status_box, token_display])
|
| 37 |
-
|
|
|
|
| 38 |
|
| 39 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 34 |
with gr.Row():
|
| 35 |
refresh = gr.Button("Refresh").click(fn=check_status, outputs=status_box)
|
| 36 |
reset = gr.Button("Reset Status").click(fn=reset_status, outputs=[status_box, token_display])
|
| 37 |
+
|
| 38 |
+
gr.load(fn=show_token, inputs=[], outputs=token_display, every=1)
|
| 39 |
|
| 40 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|