rdp-studio commited on
Commit
d8101cd
1 Parent(s): 243cb34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -138,7 +138,7 @@ with gr.Blocks() as application:
138
  log_into_public = True #gr.Checkbox(label="展示UID到下方展示区", value=True)
139
  sid_drop = gr.Dropdown(label="卡组", choices=list(sid_map.keys()), value="无")
140
  card_list_drop = gr.Dropdown(label="指定已有底卡")
141
- set_button = gr.Button("验证并提交头像", api_name="apply")
142
  code_output = gr.Textbox(label="消息输出", placeholder="点击提交按钮才会提交")
143
 
144
  with gr.Accordion("警告"):
@@ -150,7 +150,7 @@ with gr.Blocks() as application:
150
 
151
  gr.Markdown("服务状态:")
152
  with gr.Row():
153
- status_button = gr.Button("获取服务状态", api_name="status")
154
  status_output = gr.Textbox(label="服务状态", placeholder="点击获取按钮才会显示")
155
 
156
  image_ava.change(qr, inputs=[image_ava], outputs=[image_qr, login_info])
 
138
  log_into_public = True #gr.Checkbox(label="展示UID到下方展示区", value=True)
139
  sid_drop = gr.Dropdown(label="卡组", choices=list(sid_map.keys()), value="无")
140
  card_list_drop = gr.Dropdown(label="指定已有底卡")
141
+ set_button = gr.Button("验证并提交头像")
142
  code_output = gr.Textbox(label="消息输出", placeholder="点击提交按钮才会提交")
143
 
144
  with gr.Accordion("警告"):
 
150
 
151
  gr.Markdown("服务状态:")
152
  with gr.Row():
153
+ status_button = gr.Button("获取服务状态")
154
  status_output = gr.Textbox(label="服务状态", placeholder="点击获取按钮才会显示")
155
 
156
  image_ava.change(qr, inputs=[image_ava], outputs=[image_qr, login_info])