笨蛋 commited on
Commit
328bff4
1 Parent(s): 1b5ee24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,7 +88,7 @@ def main():
88
  with gr_L2(scale=1, elem_id="gpt-panel"):
89
  with gr.Accordion("输入区", open=True, elem_id="input-panel") as area_input_primary:
90
  with gr.Row():
91
- txt = gr.Textbox(show_label=False, lines=2, placeholder="输入问题或API密钥,输入多个密钥时,用英文逗号间隔。支持OpenAI密钥和API2D密钥共存。").style(container=False)
92
  with gr.Row():
93
  submitBtn = gr.Button("提交", elem_id="elem_submit", variant="primary")
94
  with gr.Row():
@@ -99,7 +99,7 @@ def main():
99
  with gr.Row():
100
  audio_mic = gr.Audio(source="microphone", type="numpy", elem_id="elem_audio", streaming=True, show_label=False).style(container=False)
101
  with gr.Row():
102
- status = gr.Markdown(f"Tip: 按Enter提交, 按Shift+Enter换行。当前模型: {LLM_MODEL} \n {proxy_info}", elem_id="state-panel")
103
  with gr.Accordion("基础功能区", open=True, elem_id="basic-panel") as area_basic_fn:
104
  with gr.Row():
105
  for k in range(NUM_CUSTOM_BASIC_BTN):
 
88
  with gr_L2(scale=1, elem_id="gpt-panel"):
89
  with gr.Accordion("输入区", open=True, elem_id="input-panel") as area_input_primary:
90
  with gr.Row():
91
+ txt = gr.Textbox(show_label=False, lines=2, placeholder="先输入API密钥,发送后。再输入问题。").style(container=False)
92
  with gr.Row():
93
  submitBtn = gr.Button("提交", elem_id="elem_submit", variant="primary")
94
  with gr.Row():
 
99
  with gr.Row():
100
  audio_mic = gr.Audio(source="microphone", type="numpy", elem_id="elem_audio", streaming=True, show_label=False).style(container=False)
101
  with gr.Row():
102
+ status = gr.Markdown(f"")
103
  with gr.Accordion("基础功能区", open=True, elem_id="basic-panel") as area_basic_fn:
104
  with gr.Row():
105
  for k in range(NUM_CUSTOM_BASIC_BTN):