Update README.md
Browse files
README.md
CHANGED
@@ -19,13 +19,13 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
19 |
|
20 |
## huggingface访问
|
21 |
|
22 |
-
```
|
23 |
|
24 |
-
curl https://niansuhai-dapi.hf.space/v1/models
|
25 |
|
26 |
|
27 |
|
28 |
-
curl --location 'https://niansuhai-dapi.hf.space/api/v1/chat/completions' \
|
29 |
--header 'Content-Type: application/json' \
|
30 |
--data '{
|
31 |
"model": "gpt-4o-mini",
|
|
|
19 |
|
20 |
## huggingface访问
|
21 |
|
22 |
+
``` shell
|
23 |
|
24 |
+
$ curl https://niansuhai-dapi.hf.space/v1/models
|
25 |
|
26 |
|
27 |
|
28 |
+
$ curl --location 'https://niansuhai-dapi.hf.space/api/v1/chat/completions' \
|
29 |
--header 'Content-Type: application/json' \
|
30 |
--data '{
|
31 |
"model": "gpt-4o-mini",
|