vishwask commited on
Commit
6c6c1a1
1 Parent(s): 69ec8ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -187,13 +187,13 @@ if prompt := st.chat_input("How can I help you today?"):
187
  sound.export("/home/user/app/audio/audio.wav", format="wav")
188
 
189
  if "reference" not in st.session_state:
190
- st.session_state.reference = False
191
  if "audio" not in st.session_state:
192
- st.session_state.audio = False
193
 
194
 
195
  with st.sidebar:
196
- choice = st.radio("References and TTS",["Reference" , 'TTS'], index=None)
197
 
198
  if choice == 'Reference':
199
  generate_pdf()
 
187
  sound.export("/home/user/app/audio/audio.wav", format="wav")
188
 
189
  if "reference" not in st.session_state:
190
+ st.session_state.reference = '/home/user/app/pdf2image/default_output.png'
191
  if "audio" not in st.session_state:
192
+ st.session_state.audio = "/home/user/app/audio/beep-06.mp3"
193
 
194
 
195
  with st.sidebar:
196
+ choice = st.radio("References and TTS",["Reference" , 'TTS'], index=None,)
197
 
198
  if choice == 'Reference':
199
  generate_pdf()