zxsipola123456 commited on
Commit
c29446b
·
verified ·
1 Parent(s): 57c7231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -56,9 +56,14 @@ def validate_offi_api_key(api_key):
56
  app = gr.Blocks(css="style.css")
57
 
58
  with app:
59
- gr.Markdown("# <center>api-key验证</center>")
60
- gr.Markdown(
61
- "### <center>中转key购买地址[here](https://buy.sipola.cn),ai文案生成可使用中转key,请访问 [here](https://ai.sipola.cn)</center>")
 
 
 
 
 
62
  with gr.Row(variant='panel'):
63
  with gr.Column():
64
  transmit_api_key = gr.Textbox(type='password', label='中转API-Key', placeholder='请在此填写您的中转API Key', elem_classes="custom-textbox")
 
56
  app = gr.Blocks(css="style.css")
57
 
58
  with app:
59
+ gr.HTML('''
60
+ <div class="header">
61
+ <div class="header-title">API-Key 验证</div>
62
+ <div class="header-subtitle">
63
+ 中转key购买地址 <a href="https://buy.sipola.cn" target="_blank">here</a>,ai文案生成可使用中转key,请访问 <a href="https://ai.sipola.cn" target="_blank">here</a>
64
+ </div>
65
+ </div>
66
+ ''')
67
  with gr.Row(variant='panel'):
68
  with gr.Column():
69
  transmit_api_key = gr.Textbox(type='password', label='中转API-Key', placeholder='请在此填写您的中转API Key', elem_classes="custom-textbox")