Pijush2023 commited on
Commit
2eda2b6
·
verified ·
1 Parent(s): 35593b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -152,6 +152,10 @@ def transcribe_and_respond(audio):
152
 
153
  return audio_path, response_text
154
 
 
 
 
 
155
 
156
  # Define the Gradio interface with only audio input and output
157
  with gr.Blocks(theme="rawrsor1/Everforest") as demo:
 
152
 
153
  return audio_path, response_text
154
 
155
+ # Function to clear the transcription state
156
+ def clear_transcription_state():
157
+ return None, None
158
+
159
 
160
  # Define the Gradio interface with only audio input and output
161
  with gr.Blocks(theme="rawrsor1/Everforest") as demo: