Chandranshu Jain commited on
Commit
8abd5b9
1 Parent(s): 364b225

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
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
- embedding(text_chunks)
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()