Vageesh1 commited on
Commit
4e66e4a
·
1 Parent(s): fbe12a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -115,11 +115,11 @@ def ui():
115
  st.session_state['past'].append(hindi_input_audio)
116
  st.session_state['generated'].append(hindi_output_audio)
117
 
118
- if st.session_state['generated']:
119
- with response_container:
120
- for i in range(len(st.session_state['generated'])):
121
- st.audio(st.session_state["past"][i],format='audio/wav')
122
- st.audio(st.session_state["generated"][i],format='audio/wav')
123
 
124
  if __name__ == '__main__':
125
  ui()
 
115
  st.session_state['past'].append(hindi_input_audio)
116
  st.session_state['generated'].append(hindi_output_audio)
117
 
118
+ if st.session_state['generated']:
119
+ with response_container:
120
+ for i in range(len(st.session_state['generated'])):
121
+ st.audio(st.session_state["past"][i],format='audio/wav')
122
+ st.audio(st.session_state["generated"][i],format='audio/wav')
123
 
124
  if __name__ == '__main__':
125
  ui()