Update app.py
Browse files
app.py
CHANGED
@@ -191,14 +191,10 @@ if prompt := st.chat_input("How can I help you today?"):
|
|
191 |
if "audio" not in st.session_state:
|
192 |
st.session_state.audio = False
|
193 |
|
194 |
-
|
195 |
-
if x or st.session_state.reference:
|
196 |
generate_pdf()
|
197 |
st.session_state.reference = True
|
198 |
-
|
199 |
-
|
200 |
-
y = st.button(':speaker:',key='audio')
|
201 |
-
if y or st.session_state.audio:
|
202 |
generate_audio()
|
203 |
st.session_state.audio = True
|
204 |
|
|
|
191 |
if "audio" not in st.session_state:
|
192 |
st.session_state.audio = False
|
193 |
|
194 |
+
if st.button('Reference') or st.session_state.reference:
|
|
|
195 |
generate_pdf()
|
196 |
st.session_state.reference = True
|
197 |
+
if st.button(':speaker:') or st.session_state.audio:
|
|
|
|
|
|
|
198 |
generate_audio()
|
199 |
st.session_state.audio = True
|
200 |
|