Spaces:
Sleeping
Sleeping
change api name: update_batch_dataset -> update_logs
Browse files88 unmodified lines8990919292939495111 unmodified lines20720820921021121021121221321488 unmodified lines "health_db": "/health/db (DB 연결 체크)", "docs": "/docs", "upload_state": "/upload_state", "upload_batch_dataset": "/upload_batch_dataset (배치 데이터)", "upload_logs": "/upload_logs (배치 데이터)", "user_dataset": "/user_dataset/{user_id}" } }111 unmodified lines print(f"❌ Hugging Face Hub 조회 실패: {e}") raise HTTPException(status_code=500, detail=f"Hugging Face Hub 조회 실패: {str(e)}")
@app.post("/upload_batch_dataset")async def upload_batch_dataset(payload: BatchUploadPayload):@app.post("/upload_logs")async def upload_logs(payload: BatchUploadPayload): """배치 단위로 사용자 데이터를 Hugging Face Hub로 푸시""" try: # Hugging Face 환경변수 확인app.py+3-3