Spaces:
Sleeping
Sleeping
fix filename
Browse files
app.py
CHANGED
@@ -33,9 +33,8 @@ if uploaded_file is not None:
|
|
33 |
if not file.endswith('.pdf'):
|
34 |
st.write(f"The other file in the 'uploads' folder is: {file}")
|
35 |
break
|
36 |
-
|
37 |
monkeyReader = reader.MonkeyReader('x2d')
|
38 |
-
outline = monkeyReader.readOutline(file)
|
39 |
|
40 |
for pre, fill, node in outline:
|
41 |
st.write("%s%s" % (pre, node.name))
|
|
|
33 |
if not file.endswith('.pdf'):
|
34 |
st.write(f"The other file in the 'uploads' folder is: {file}")
|
35 |
break
|
|
|
36 |
monkeyReader = reader.MonkeyReader('x2d')
|
37 |
+
outline = monkeyReader.readOutline(folder_path + file)
|
38 |
|
39 |
for pre, fill, node in outline:
|
40 |
st.write("%s%s" % (pre, node.name))
|