Update app.py
Browse files
app.py
CHANGED
@@ -173,11 +173,11 @@ with input_container:
|
|
173 |
st.audio(speech_fp, format='audio/mp3')
|
174 |
|
175 |
## Conditional display of AI generated responses as a function of user provided prompts
|
176 |
-
with response_container:
|
177 |
if st.session_state['generated']:
|
178 |
for i in range(len(st.session_state['generated'])):
|
179 |
message(st.session_state['past'][i], is_user=True, key=str(i) + '_user')
|
180 |
-
message(st.session_state["generated"][i], key=str(I))
|
181 |
|
182 |
|
183 |
with st.sidebar.expander("Behind the Scene", expanded=section_visible):
|
|
|
173 |
st.audio(speech_fp, format='audio/mp3')
|
174 |
|
175 |
## Conditional display of AI generated responses as a function of user provided prompts
|
176 |
+
'''with response_container:
|
177 |
if st.session_state['generated']:
|
178 |
for i in range(len(st.session_state['generated'])):
|
179 |
message(st.session_state['past'][i], is_user=True, key=str(i) + '_user')
|
180 |
+
message(st.session_state["generated"][i], key=str(I))'''
|
181 |
|
182 |
|
183 |
with st.sidebar.expander("Behind the Scene", expanded=section_visible):
|