Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ with app:
|
|
68 |
with gr.Row(variant='panel'):
|
69 |
with gr.Column():
|
70 |
transmit_api_key = gr.Textbox(type='password', label='中转API-Key', placeholder='请在此填写您的中转API Key', elem_classes="custom-textbox")
|
71 |
-
transmit_btn_text = gr.Button("点击验证中转key", variant="primary",
|
72 |
|
73 |
with gr.Column():
|
74 |
transmit_output_textbox = gr.Textbox(label="显示key状态及可访问的模型列表", lines=5,max_lines=5, elem_classes="custom-textbox")
|
@@ -77,7 +77,7 @@ with app:
|
|
77 |
with gr.Row(variant='panel'):
|
78 |
with gr.Column():
|
79 |
official_api_key = gr.Textbox(type='password', label='官方API Key', placeholder='请在此输入你的官方API Key', elem_classes="custom-textbox")
|
80 |
-
official_btn_text = gr.Button("点击验证官方key", variant="primary",
|
81 |
|
82 |
with gr.Column():
|
83 |
official_output_textbox = gr.Textbox(label="显示key状态及可访问的模型列表", lines=5, max_lines=5, elem_classes="custom-textbox" )
|
|
|
68 |
with gr.Row(variant='panel'):
|
69 |
with gr.Column():
|
70 |
transmit_api_key = gr.Textbox(type='password', label='中转API-Key', placeholder='请在此填写您的中转API Key', elem_classes="custom-textbox")
|
71 |
+
transmit_btn_text = gr.Button("点击验证中转key", variant="primary", elem_classes="custom-button")
|
72 |
|
73 |
with gr.Column():
|
74 |
transmit_output_textbox = gr.Textbox(label="显示key状态及可访问的模型列表", lines=5,max_lines=5, elem_classes="custom-textbox")
|
|
|
77 |
with gr.Row(variant='panel'):
|
78 |
with gr.Column():
|
79 |
official_api_key = gr.Textbox(type='password', label='官方API Key', placeholder='请在此输入你的官方API Key', elem_classes="custom-textbox")
|
80 |
+
official_btn_text = gr.Button("点击验证官方key", variant="primary", elem_classes="custom-button")
|
81 |
|
82 |
with gr.Column():
|
83 |
official_output_textbox = gr.Textbox(label="显示key状态及可访问的模型列表", lines=5, max_lines=5, elem_classes="custom-textbox" )
|