Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
|
|
|
|
|
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, '')
|