Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,8 +89,8 @@ def main():
|
|
89 |
k1= 5
|
90 |
text_list = []
|
91 |
causal_sents = []
|
92 |
-
with open('sample_anno.pdf') as f:
|
93 |
-
|
94 |
try:
|
95 |
#if uploaded_file is not None:
|
96 |
uploaded_file = st.sidebar.file_uploader("Choose a file", type = "pdf")
|
|
|
89 |
k1= 5
|
90 |
text_list = []
|
91 |
causal_sents = []
|
92 |
+
#with open('sample_anno.pdf') as f:
|
93 |
+
uploaded_file = PdfReader('sample_anno.pdf')
|
94 |
try:
|
95 |
#if uploaded_file is not None:
|
96 |
uploaded_file = st.sidebar.file_uploader("Choose a file", type = "pdf")
|