Download app.py from thisisdev/PDFReader: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/spaces/thisisdev/PDFReader/resolve/b9eeb44cc30637aa209cbcf1ef83d8fdf9decf43/app.py
- Command line
-
hf download hf://spaces/thisisdev/PDFReader@b9eeb44cc30637aa209cbcf1ef83d8fdf9decf43/app.py
-
curl -L -o app.py https://huggingface.co/spaces/thisisdev/PDFReader/resolve/b9eeb44cc30637aa209cbcf1ef83d8fdf9decf43/app.py
535 Bytes
| # from backend import ResultPipeline | |
| import streamlit as st | |
| def main(): | |
| # Just for setting up the title & head bar | |
| st.set_page_config(page_title = "Bill App") | |
| st.title("Bill Extractor") | |
| # This section will handle uploadation of files | |
| files = st.file_uploader("Upload the files here..", type = ["pdf"], accept_multiple_files = True) | |
| submit = st.button("Extract") | |
| # If a user has submitted the fieles, we need to call our pipeline | |
| # Calling the main function | |
| if __name__ == "__main__": | |
| main() |