Spaces:
Sleeping
Sleeping
Download app.py from adakevms/nfjs_capstone: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/spaces/adakevms/nfjs_capstone/resolve/main/app.py
- Command line
-
hf download hf://spaces/adakevms/nfjs_capstone/app.py
-
curl -L -o app.py https://huggingface.co/spaces/adakevms/nfjs_capstone/resolve/main/app.py
245 Bytes
| #!/usr/bin/env python3 | |
| """Entry point for HF Spaces deployment.""" | |
| import os | |
| os.environ['PDF_DIRECTORY'] = './knowledge_base_pdfs' | |
| from gradio_app import demo | |
| if __name__ == "__main__": | |
| demo.launch(server_name="0.0.0.0", server_port=7860) | |