anand004 commited on
Commit
47e668f
·
verified ·
1 Parent(s): 55b6bcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -4,7 +4,6 @@ import gc
4
  import gradio as gr
5
  import io
6
  import numpy as np
7
- import ocrmypdf
8
  import os
9
  import pandas as pd
10
  import pymupdf
@@ -20,7 +19,6 @@ from gradio.themes.utils import sizes
20
  from langchain import PromptTemplate
21
  from langchain.text_splitter import RecursiveCharacterTextSplitter
22
  from langchain_community.llms import HuggingFaceEndpoint
23
- from pdfminer.high_level import extract_text
24
  from transformers import LlavaNextForConditionalGeneration, LlavaNextProcessor
25
  from utils import *
26
 
 
4
  import gradio as gr
5
  import io
6
  import numpy as np
 
7
  import os
8
  import pandas as pd
9
  import pymupdf
 
19
  from langchain import PromptTemplate
20
  from langchain.text_splitter import RecursiveCharacterTextSplitter
21
  from langchain_community.llms import HuggingFaceEndpoint
 
22
  from transformers import LlavaNextForConditionalGeneration, LlavaNextProcessor
23
  from utils import *
24