OpenClaw AI
feat(ocr): implement screen recognition prototype with Tesseract.js and Electron IPC
7b7e57d Download apps/server/src/app.controller.ts from qf46578/omnics: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/spaces/qf46578/omnics/resolve/main/apps/server/src/app.controller.ts
- Command line
-
hf download hf://spaces/qf46578/omnics/apps/server/src/app.controller.ts
-
curl -L -o app.controller.ts https://huggingface.co/spaces/qf46578/omnics/resolve/main/apps/server/src/app.controller.ts
498 Bytes
| import { Controller, Get } from '@nestjs/common'; | |
| import { AppService } from './app.service'; | |
| import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger'; | |
| ('系统状态') | |
| () | |
| export class AppController { | |
| constructor(private readonly appService: AppService) { } | |
| () | |
| ({ summary: '健康检查' }) | |
| ({ status: 200, description: '系统运行正常' }) | |
| getHello(): object { | |
| return this.appService.getHello(); | |
| } | |
| } | |