sushil3125 commited on
Commit
f4ba8ea
·
1 Parent(s): 91fb3b7

status api

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -96,5 +96,4 @@ async def get_embedding(input: TextInput):
96
 
97
  @app.get("/status")
98
  async def status():
99
- logger.warning(f"Unsupported model_name: {input.model_name}")
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"}