Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
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")
|