awacke1 commited on
Commit
3f565e1
1 Parent(s): 652dc4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -271,11 +271,11 @@ def FileSidebar():
271
  if len(file_contents) > 0:
272
  if next_action=='open':
273
  file_content_area = st.text_area("File Contents:", file_contents, height=500)
274
- try:
275
- if st.button("🔍", key="filecontentssearch"):
276
- search_glossary(file_content_area)
277
- except:
278
- st.markdown('GPT is sleeping. Restart ETA 30 seconds.')
279
 
280
  if next_action=='md':
281
  st.markdown(file_contents)
 
271
  if len(file_contents) > 0:
272
  if next_action=='open':
273
  file_content_area = st.text_area("File Contents:", file_contents, height=500)
274
+ try:
275
+ if st.button("🔍", key="filecontentssearch"):
276
+ search_glossary(file_content_area)
277
+ except:
278
+ st.markdown('GPT is sleeping. Restart ETA 30 seconds.')
279
 
280
  if next_action=='md':
281
  st.markdown(file_contents)