Pijush2023 commited on
Commit
c8739d2
·
verified ·
1 Parent(s): 5379375

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 "", transcribed_text
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():