mingl commited on
Commit
261ac01
·
verified ·
1 Parent(s): 6a8f21b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -6
README.md CHANGED
@@ -35,12 +35,8 @@ python main.py
35
  ### 接口测试
36
  1. 从URL转文字
37
  ```
38
- curl --request POST \
39
- --url http://127.0.0.1:8000/extract_text \
40
- --header 'content-type: multipart/form-data' \
41
- --data '{
42
- "url": "https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav"
43
- }'
44
  ```
45
  2. 从文件转文字
46
  ```
 
35
  ### 接口测试
36
  1. 从URL转文字
37
  ```
38
+ curl --location --request POST 'http://127.0.0.1:8000/extract_text' \
39
+ --form 'url=https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav'
 
 
 
 
40
  ```
41
  2. 从文件转文字
42
  ```