Babu Pallam commited on
Commit
919e800
·
1 Parent(s): ba0c68a

Add Hugging Face Spaces entrypoint for Streamlit deployment

Browse files
Files changed (3) hide show
  1. app.py +14 -0
  2. app/__init__.py +6 -0
  3. requirements.txt +1 -5
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ============================================================
2
+ # FILE: app.py
3
+ # ============================================================
4
+ # PURPOSE:
5
+ # Hugging Face Spaces entry point.
6
+ #
7
+ # This file imports and runs the actual Streamlit app from:
8
+ # app/streamlit_app.py
9
+ # ============================================================
10
+
11
+ from app.streamlit_app import main
12
+
13
+ if __name__ == "__main__":
14
+ main()
app/__init__.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # ============================================================
2
+ # FILE: app/__init__.py
3
+ # ============================================================
4
+ # PURPOSE:
5
+ # Makes app/ a Python package so app.py can import from it.
6
+ # ============================================================
requirements.txt CHANGED
@@ -7,8 +7,4 @@ chromadb
7
  sentence-transformers
8
  torch
9
  pypdf
10
- pytest
11
- jupyterlab
12
- notebook
13
- ipykernel
14
- ipywidgets
 
7
  sentence-transformers
8
  torch
9
  pypdf
10
+ pytest