viarias commited on
Commit
b420ebd
·
verified ·
1 Parent(s): 8a33f8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ async def home():
92
  return {"message": "Welcome to Kimi Service!"}
93
 
94
 
95
- @router.post("/classify", response_model=str)
96
  async def classify(request: ClassificationRequest):
97
  try:
98
  log.info(f"Processing {len(request.images)} images")
 
92
  return {"message": "Welcome to Kimi Service!"}
93
 
94
 
95
+ @router.post("/classify", response_model=dict)
96
  async def classify(request: ClassificationRequest):
97
  try:
98
  log.info(f"Processing {len(request.images)} images")