Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,5 +8,9 @@ def main():
|
|
| 8 |
files = st.file_uploader("Upload the file here:", type=["pdf"], accept_multiple_files=True)
|
| 9 |
submit = st.button("Extract")
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
|
|
|
| 8 |
files = st.file_uploader("Upload the file here:", type=["pdf"], accept_multiple_files=True)
|
| 9 |
submit = st.button("Extract")
|
| 10 |
|
| 11 |
+
# Calling the main function now
|
| 12 |
+
if __name__ == "__main__":
|
| 13 |
+
main()
|
| 14 |
+
|
| 15 |
+
# If user submitted the files, we need to call our pipeline
|
| 16 |
|