Spaces:
Runtime error
Runtime error
笨蛋
commited on
Commit
•
328bff4
1
Parent(s):
1b5ee24
Update app.py
Browse files
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="
|
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"
|
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):
|