Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,8 +53,11 @@ def main():
|
|
53 |
if st.button("Build Model"):
|
54 |
with st.spinner("Waiting"):
|
55 |
document=get_pdf_load()
|
|
|
56 |
texts=get_text_split(document)
|
|
|
57 |
db=get_vectorstore(texts)
|
|
|
58 |
qa_chain=get_chain(db)
|
59 |
st.write("compelete build model")
|
60 |
|
|
|
53 |
if st.button("Build Model"):
|
54 |
with st.spinner("Waiting"):
|
55 |
document=get_pdf_load()
|
56 |
+
st.write("load pdf")
|
57 |
texts=get_text_split(document)
|
58 |
+
st.write("text split")
|
59 |
db=get_vectorstore(texts)
|
60 |
+
st.write("vectore store")
|
61 |
qa_chain=get_chain(db)
|
62 |
st.write("compelete build model")
|
63 |
|