ChenyuRabbitLove commited on
Commit
35ad3f3
1 Parent(s): c82fac4

feat: add test component class

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,9 +97,9 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
97
  # handling player info
98
  with gr.Row():
99
  player_backend_id = gr.Textbox(
100
- "http://id.junyiacademy.org/d6317d299321450191dd5da599a48b3d", visible=False
101
  )
102
- player_info_query_btn = gr.Button("Query")
103
 
104
  # actions when player login
105
  #player_info_query_btn.click(get_player_info, player_backend_id, player_info)
 
97
  # handling player info
98
  with gr.Row():
99
  player_backend_id = gr.Textbox(
100
+ "http://id.junyiacademy.org/d6317d299321450191dd5da599a48b3d", visible=False, elem_id="player_backend_id"
101
  )
102
+ player_info_query_btn = gr.Button("Query", elem_id="trigger_button")
103
 
104
  # actions when player login
105
  #player_info_query_btn.click(get_player_info, player_backend_id, player_info)