Spaces:
Sleeping
Sleeping
Chandranshu Jain
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -76,14 +76,10 @@ def main():
|
|
76 |
with st.spinner("Processing..."):
|
77 |
raw_text = get_pdf(pdf_docs)
|
78 |
text_chunks = text_splitter(raw_text)
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
if query:
|
83 |
-
user_call(query)
|
84 |
|
85 |
-
|
86 |
-
st.success("Done")
|
87 |
|
88 |
if __name__ == "__main__":
|
89 |
main()
|
|
|
76 |
with st.spinner("Processing..."):
|
77 |
raw_text = get_pdf(pdf_docs)
|
78 |
text_chunks = text_splitter(raw_text)
|
79 |
+
if query:
|
80 |
+
embedding(text_chunks,query)
|
|
|
|
|
|
|
81 |
|
82 |
+
st.success("Done")
|
|
|
83 |
|
84 |
if __name__ == "__main__":
|
85 |
main()
|