fix: support

This commit is contained in:
2025-08-29 16:11:41 +08:00
parent 9d1f51bb25
commit 10ed2a2283
3 changed files with 18 additions and 0 deletions

View File

@@ -40,6 +40,13 @@ curl -X POST "http://localhost:10086/infer" \
-d @- -d @-
``` ```
如果本地没有安装`jq`命令,可以使用`test.json`:
```bash
curl -X POST "http://localhost:10086/infer" \
-H "Content-Type: application/json" \
-d @test.json
```
## 模型测试服务原理 ## 模型测试服务原理
尽管对于视觉多模态理解没有一个业界统一的API协议标准但我们也可以基于目前比较流行的Transfomer框架**适配**各类视觉理解多模态模型。 尽管对于视觉多模态理解没有一个业界统一的API协议标准但我们也可以基于目前比较流行的Transfomer框架**适配**各类视觉理解多模态模型。

BIN
demo.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 KiB

11
test.json Normal file

File diff suppressed because one or more lines are too long