Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,9 @@ if paper:
|
|
43 |
name = paper.title+'.pdf'
|
44 |
name = name.replace('?', '')
|
45 |
name = "downloads/" + name
|
46 |
-
|
|
|
|
|
47 |
tpages = len(list(extract_pages(name)))
|
48 |
print("total pages=", tpages)
|
49 |
pgs = [i+1 for i in range(tpages)]
|
|
|
43 |
name = paper.title+'.pdf'
|
44 |
name = name.replace('?', '')
|
45 |
name = "downloads/" + name
|
46 |
+
|
47 |
+
name = "./downloads/paper.pdf"
|
48 |
+
|
49 |
tpages = len(list(extract_pages(name)))
|
50 |
print("total pages=", tpages)
|
51 |
pgs = [i+1 for i in range(tpages)]
|