mikepastor11 commited on
Commit
1bf2670
1 Parent(s): c15629e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,5 +1,7 @@
1
  ##############################################################
2
- # PDF Chat
 
 
3
  #
4
  # Mike Pastor February 2024
5
 
@@ -23,8 +25,8 @@ from langchain.text_splitter import CharacterTextSplitter
23
  from langchain.memory import ConversationBufferMemory
24
  from langchain.chains import ConversationalRetrievalChain
25
 
26
- # from htmlTemplates import css, bot_template, user_template
27
- # from langchain.llms import HuggingFaceHub
28
 
29
 
30
  def get_pdf_text(pdf_docs):
 
1
  ##############################################################
2
+ # app.py - PDF Chat
3
+ #
4
+ # HuggingFace Spaces application
5
  #
6
  # Mike Pastor February 2024
7
 
 
25
  from langchain.memory import ConversationBufferMemory
26
  from langchain.chains import ConversationalRetrievalChain
27
 
28
+
29
+ from langchain.llms import HuggingFaceHub
30
 
31
 
32
  def get_pdf_text(pdf_docs):