Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,6 @@ with gr.Blocks() as demo:
|
|
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 |
|
40 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
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 |
+
demo.load(fn=show_token, inputs=[], outputs=token_display, every=1)
|
39 |
|
40 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|