HeRksTAn commited on
Commit
b4b4299
1 Parent(s): a47aab1

removed pymu due to errors

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -2,7 +2,6 @@ import chainlit as cl
2
  import tiktoken
3
  import os
4
  from dotenv import load_dotenv
5
- # from langchain_community.document_loaders import PyMuPDFLoader
6
  from langchain_community.document_loaders import PyPDFLoader
7
  from langchain_openai import OpenAIEmbeddings
8
  from langchain_core.prompts import ChatPromptTemplate
@@ -45,7 +44,6 @@ def tiktoken_len(text):
45
  )
46
  return len(tokens)
47
 
48
- # car_manual = PyMuPDFLoader(os.environ.get('pdfurl'))
49
  car_manual = PyPDFLoader(os.environ.get('pdfurl'))
50
 
51
  car_manual_data = car_manual.load()
 
2
  import tiktoken
3
  import os
4
  from dotenv import load_dotenv
 
5
  from langchain_community.document_loaders import PyPDFLoader
6
  from langchain_openai import OpenAIEmbeddings
7
  from langchain_core.prompts import ChatPromptTemplate
 
44
  )
45
  return len(tokens)
46
 
 
47
  car_manual = PyPDFLoader(os.environ.get('pdfurl'))
48
 
49
  car_manual_data = car_manual.load()