ChenyuRabbitLove commited on
Commit
8e9bd24
1 Parent(s): fc3a5ac

fix: fix player_info gr.State value

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def get_player_info(player_backend_user_id):
21
 
22
  # start of gradio interface
23
  with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
24
- player_info = gr.State(get_player_info)
25
 
26
  with gr.Row():
27
  with gr.Column(
 
21
 
22
  # start of gradio interface
23
  with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
24
+ player_info = gr.State()
25
 
26
  with gr.Row():
27
  with gr.Column(