sunnysharma20 commited on
Commit
004cfa5
·
verified ·
1 Parent(s): 05c6770

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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
- # If user submitted the files, we need to call our pipeline
 
 
 
 
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