awacke1 commited on
Commit
cd6ca24
·
1 Parent(s): 6037fdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -360,4 +360,6 @@ with st.sidebar:
360
  vectorstore = create_vector_store_from_text_chunks(text_chunks)
361
  st.session_state.conversation = create_conversation_chain(vectorstore)
362
  lenOfVectorStore = len(vectorstore)
363
- st.markdown('# Extracted Text of Length:' + str(lenOfVectorStore) + ' and Created Search Index')
 
 
 
360
  vectorstore = create_vector_store_from_text_chunks(text_chunks)
361
  st.session_state.conversation = create_conversation_chain(vectorstore)
362
  lenOfVectorStore = len(vectorstore)
363
+ st.markdown('# Extracted Text of Length:' + str(raw_text) + ' and Created Search Index')
364
+ filename = generate_filename(file_content_area, choice)
365
+ create_file(filename, raw_text, '')