Spaces:
Running
Running
Commit
·
f4ba8ea
1
Parent(s):
91fb3b7
status api
Browse files
app.py
CHANGED
@@ -96,5 +96,4 @@ async def get_embedding(input: TextInput):
|
|
96 |
|
97 |
@app.get("/status")
|
98 |
async def status():
|
99 |
-
|
100 |
-
return {"error": "Unsupported model_name. Use 'BM', 'BG', or 'SPLADE'."}
|
|
|
96 |
|
97 |
@app.get("/status")
|
98 |
async def status():
|
99 |
+
return {"status": "Server is up and running"}
|
|