andykr1k commited on
Commit
c865291
·
1 Parent(s): caa7929

fixing bugs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ async def rebuild_handler():
163
  return {"status": "success", "message": "Model and data rebuilt successfully"}
164
 
165
  @app.get("/recommend/network")
166
- async def get_recommendations_handler(user_id: int = Query(...)):
167
  if not trained_model:
168
  raise HTTPException(status_code=500, detail="Model not initialized, please rebuild first.")
169
 
 
163
  return {"status": "success", "message": "Model and data rebuilt successfully"}
164
 
165
  @app.get("/recommend/network")
166
+ async def get_recommendations_handler(user_id: str = Query(...)):
167
  if not trained_model:
168
  raise HTTPException(status_code=500, detail="Model not initialized, please rebuild first.")
169