Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -88,9 +88,11 @@ def main():
|
|
88 |
|
89 |
try:
|
90 |
uploaded_file = st.sidebar.file_uploader("Choose a file", type = "pdf")
|
91 |
-
st.stop()
|
92 |
except:
|
|
|
93 |
st.write("Upload a pdf file...")
|
|
|
94 |
|
95 |
if uploaded_file is not None:
|
96 |
reader = PdfReader(uploaded_file)
|
|
|
88 |
|
89 |
try:
|
90 |
uploaded_file = st.sidebar.file_uploader("Choose a file", type = "pdf")
|
91 |
+
#st.stop()
|
92 |
except:
|
93 |
+
#if uploaded_file
|
94 |
st.write("Upload a pdf file...")
|
95 |
+
st.stop()
|
96 |
|
97 |
if uploaded_file is not None:
|
98 |
reader = PdfReader(uploaded_file)
|