This commit is contained in:
505030475
2023-07-02 22:54:05 +08:00
parent 322c4be145
commit a330d6636e
5 changed files with 115 additions and 51 deletions

View File

@ -58,7 +58,7 @@ def main():
with gr_L1():
with gr_L2(scale=2):
if ENABLE_AUDIO:
audio_mic = gr.Audio(source="microphone", type="numpy", streaming=True)
audio_mic = gr.Audio(source="microphone", type="numpy")
chatbot = gr.Chatbot(label=f"当前模型:{LLM_MODEL}")
chatbot.style(height=CHATBOT_HEIGHT)