Laramie2 commited on
Commit
c44f1a6
·
verified ·
1 Parent(s): c91a28c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
217
  gr.Markdown("### 1. 配置 & 上传")
218
  key_input = gr.Textbox(label="API Key", type="password", placeholder="请输入您的 API Key")
219
  # 👇 这里新增了 Base URL 的输入框
220
- api_base_url_input = gr.Textbox(label="API Base URL (可选)", placeholder="例如: https://api.example.com/v1")
221
  key_btn = gr.Button("保存配置") # 稍微改了下名字更贴切
222
  gr.Markdown("---")
223
  pdf_input = gr.File(label="选择 PDF", file_types=[".pdf"])
 
217
  gr.Markdown("### 1. 配置 & 上传")
218
  key_input = gr.Textbox(label="API Key", type="password", placeholder="请输入您的 API Key")
219
  # 👇 这里新增了 Base URL 的输入框
220
+ api_base_url_input = gr.Textbox(label="API Base URL (可选)", placeholder="例如: https://api.example.com/")
221
  key_btn = gr.Button("保存配置") # 稍微改了下名字更贴切
222
  gr.Markdown("---")
223
  pdf_input = gr.File(label="选择 PDF", file_types=[".pdf"])