justinj92 commited on
Commit
a77d753
·
verified ·
1 Parent(s): 536effb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -70,10 +70,8 @@ class CFG:
70
  Embeddings_path = './embeddings/input'
71
  Output_folder = './ml-papers-vector'
72
 
73
- @spaces.GPU(duration=120)
74
- loader = DirectoryLoader(CFG.PDFs_path, glob="./*.pdf", loader_cls=PyPDFLoader)
75
 
76
- @spaces.GPU(duration=120)
77
  documents = loader.load()
78
 
79
  @spaces.GPU(duration=120)
 
70
  Embeddings_path = './embeddings/input'
71
  Output_folder = './ml-papers-vector'
72
 
73
+ loader = DirectoryLoader(CFG.PDFs_path, glob="*.pdf", loader_cls=PyPDFLoader)
 
74
 
 
75
  documents = loader.load()
76
 
77
  @spaces.GPU(duration=120)