Skip to content

Commit cdd1ce0

Browse files
committed
Add PP-ShiTuV2 FastAPI app
1 parent f4399e8 commit cdd1ce0

File tree

64 files changed

+1295
-1033
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1295
-1033
lines changed

docs/pipeline_usage/tutorials/cv_pipelines/face_recognition.en.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,10 @@ Below are the API reference and multi-language service invocation examples:
374374

375375
<details><summary>API Reference</summary>
376376

377-
<p>For all operations provided by the service:</p>
377+
<p>For main operations provided by the service:</p>
378378
<ul>
379-
<li>The response body and the request body of POST requests are both JSON data (JSON objects).</li>
379+
<li>The HTTP request method is POST.</li>
380+
<li>The request body and the response body are both JSON data (JSON objects).</li>
380381
<li>When the request is successfully processed, the response status code is <code>200</code>, and the attributes of the response body are as follows:</li>
381382
</ul>
382383
<table>
@@ -425,7 +426,7 @@ Below are the API reference and multi-language service invocation examples:
425426
</tr>
426427
</tbody>
427428
</table>
428-
<p>The operations provided by the service are as follows:</p>
429+
<p>The main operations provided by the service are as follows:</p>
429430
<ul>
430431
<li><b><code>infer</code></b></li>
431432
</ul>

docs/pipeline_usage/tutorials/cv_pipelines/face_recognition.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,10 @@ data_root # 数据集根目录,目录名称可以改变
391391

392392
<details><summary>API参考</summary>
393393

394-
<p>对于服务提供的所有操作:</p>
394+
<p>对于服务提供的主要操作:</p>
395395
<ul>
396-
<li>响应体以及POST请求的请求体均为JSON数据(JSON对象)。</li>
396+
<li>HTTP请求方法为POST。</li>
397+
<li>请求体和响应体均为JSON数据(JSON对象)。</li>
397398
<li>当请求处理成功时,响应状态码为<code>200</code>,响应体的属性如下:</li>
398399
</ul>
399400
<table>
@@ -442,7 +443,7 @@ data_root # 数据集根目录,目录名称可以改变
442443
</tr>
443444
</tbody>
444445
</table>
445-
<p>服务提供的操作如下:</p>
446+
<p>服务提供的主要操作如下:</p>
446447
<ul>
447448
<li><b><code>infer</code></b></li>
448449
</ul>

0 commit comments

Comments
 (0)