Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
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()
|