yasserrmd commited on
Commit
c95c91f
·
verified ·
1 Parent(s): 4dedee1

Update extract_text_from_pdf.py

Browse files
Files changed (1) hide show
  1. extract_text_from_pdf.py +1 -1
extract_text_from_pdf.py CHANGED
@@ -114,7 +114,7 @@ class PDFTextExtractor:
114
 
115
  return chunks
116
 
117
- @spaces.GPU
118
  def process_chunk(self, text_chunk):
119
  """Process a text chunk with the model and return the cleaned text."""
120
  conversation = [
 
114
 
115
  return chunks
116
 
117
+ @spaces.GPU(duration=120)
118
  def process_chunk(self, text_chunk):
119
  """Process a text chunk with the model and return the cleaned text."""
120
  conversation = [