Spaces:
Running
Running
fahmiaziz98
commited on
Commit
·
db41533
1
Parent(s):
8590297
init
Browse files
app.py
CHANGED
|
@@ -48,10 +48,6 @@ High-performance API for document reranking using multiple state-of-the-art mode
|
|
| 48 |
- Comprehensive performance metrics
|
| 49 |
- Zero cold start delay
|
| 50 |
|
| 51 |
-
📊 **Input/Output:**
|
| 52 |
-
- Input: Query + documents + optional instruction
|
| 53 |
-
- Output: Ranked documents with relevance scores
|
| 54 |
-
|
| 55 |
⚠️ **Warning**: Not for production use!.
|
| 56 |
""",
|
| 57 |
version="1.0.0",
|
|
@@ -192,5 +188,5 @@ async def health_check():
|
|
| 192 |
|
| 193 |
@app.get("/", tags=["Monitoring"])
|
| 194 |
async def root():
|
| 195 |
-
return {"message": "Welcome to
|
| 196 |
|
|
|
|
| 48 |
- Comprehensive performance metrics
|
| 49 |
- Zero cold start delay
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
⚠️ **Warning**: Not for production use!.
|
| 52 |
""",
|
| 53 |
version="1.0.0",
|
|
|
|
| 188 |
|
| 189 |
@app.get("/", tags=["Monitoring"])
|
| 190 |
async def root():
|
| 191 |
+
return {"message": "Welcome to Reranking API. Visit /docs for API documentation.", "version": "1.0.0"}
|
| 192 |
|