Spaces:
Paused
Paused
Update app.py
Browse files
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=
|
| 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")
|