Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -2052,11 +2052,11 @@ def update_images():
|
|
2052 |
|
2053 |
def clear_state_and_textbox():
|
2054 |
conversational_memory.clear()
|
2055 |
-
return "
|
2056 |
|
2057 |
def transcribe_and_update_textbox(audio, chat_input):
|
2058 |
transcribed_text = transcribe(audio)
|
2059 |
-
return
|
2060 |
|
2061 |
with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
2062 |
with gr.Row():
|
|
|
2052 |
|
2053 |
def clear_state_and_textbox():
|
2054 |
conversational_memory.clear()
|
2055 |
+
return ""
|
2056 |
|
2057 |
def transcribe_and_update_textbox(audio, chat_input):
|
2058 |
transcribed_text = transcribe(audio)
|
2059 |
+
return None,transcribed_text
|
2060 |
|
2061 |
with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
2062 |
with gr.Row():
|