Update start.sh
Browse files
start.sh
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
uvicorn main:app --host 0.0.0.0 --port 8000 &
|
| 6 |
|
| 7 |
# 2. Start Streamlit in the foreground
|
| 8 |
-
#
|
| 9 |
-
#
|
| 10 |
export BACKEND_URL="http://127.0.0.1:8000/process-resume"
|
| 11 |
-
streamlit run app.py --server.port 7860 --server.address 0.0.0.0
|
|
|
|
| 5 |
uvicorn main:app --host 0.0.0.0 --port 8000 &
|
| 6 |
|
| 7 |
# 2. Start Streamlit in the foreground
|
| 8 |
+
# --server.enableCORS=false: Allows the browser to talk to the app from the Hugging Face URL
|
| 9 |
+
# --server.enableXsrfProtection=false: Fixes the 403 Forbidden error during file upload
|
| 10 |
export BACKEND_URL="http://127.0.0.1:8000/process-resume"
|
| 11 |
+
streamlit run app.py --server.port 7860 --server.address 0.0.0.0 --server.enableCORS=false --server.enableXsrfProtection=false
|