Spaces:
Paused
Paused
Commit ·
da21382
1
Parent(s): fd79618
Fix Vercel memory error by adding .vercelignore and outputDirectory web_ui
Browse files- .vercelignore +19 -0
- vercel.json +8 -11
.vercelignore
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Ignore backend files so Vercel only deploys static web_ui
|
| 2 |
+
*.py
|
| 3 |
+
*.onnx
|
| 4 |
+
*.faiss
|
| 5 |
+
*.ipynb
|
| 6 |
+
api_endpoints/
|
| 7 |
+
doc_chunking/
|
| 8 |
+
knowledge_base/
|
| 9 |
+
latency_benchmarks/
|
| 10 |
+
llm_synthesis/
|
| 11 |
+
model_training/
|
| 12 |
+
rag_pipeline/
|
| 13 |
+
rag_service/
|
| 14 |
+
safety_guardrails/
|
| 15 |
+
tests/
|
| 16 |
+
vector_search/
|
| 17 |
+
voice_stt/
|
| 18 |
+
requirements.txt
|
| 19 |
+
Dockerfile
|
vercel.json
CHANGED
|
@@ -1,22 +1,19 @@
|
|
| 1 |
{
|
| 2 |
"version": 2,
|
| 3 |
"cleanUrls": true,
|
| 4 |
-
"
|
|
|
|
| 5 |
{
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
},
|
| 9 |
{
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
},
|
| 13 |
{
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
},
|
| 17 |
-
{
|
| 18 |
-
"src": "/(.*)",
|
| 19 |
-
"dest": "/web_ui/$1"
|
| 20 |
}
|
| 21 |
]
|
| 22 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 2,
|
| 3 |
"cleanUrls": true,
|
| 4 |
+
"outputDirectory": "web_ui",
|
| 5 |
+
"rewrites": [
|
| 6 |
{
|
| 7 |
+
"source": "/query",
|
| 8 |
+
"destination": "https://visionquest-hkzg.onrender.com/query"
|
| 9 |
},
|
| 10 |
{
|
| 11 |
+
"source": "/languages",
|
| 12 |
+
"destination": "https://visionquest-hkzg.onrender.com/languages"
|
| 13 |
},
|
| 14 |
{
|
| 15 |
+
"source": "/health",
|
| 16 |
+
"destination": "https://visionquest-hkzg.onrender.com/health"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
| 18 |
]
|
| 19 |
}
|