Mudassir-75 commited on
Commit
85f54e4
·
verified ·
1 Parent(s): 217a21d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -133,3 +133,6 @@ elif input_method == "Record":
133
  st.success("The pronunciation is likely correct based on transcription similarity.")
134
  else:
135
  st.error("The pronunciation may be incorrect based on transcription similarity.")
 
 
 
 
133
  st.success("The pronunciation is likely correct based on transcription similarity.")
134
  else:
135
  st.error("The pronunciation may be incorrect based on transcription similarity.")
136
+
137
+ # Explicitly reset the user_audio_bytes to ensure the component is re-rendered
138
+ st.experimental_rerun()