Update docs
This commit is contained in:
@@ -121,6 +121,7 @@ Download an image
|
||||
curl -o example_image.png -L https://github.com/sgl-project/sglang/blob/main/test/lang/example_image.png?raw=true
|
||||
```
|
||||
|
||||
Send a request
|
||||
```python
|
||||
import requests
|
||||
|
||||
@@ -139,4 +140,4 @@ print(response.json())
|
||||
```
|
||||
|
||||
The `image_data` can be a file name, a URL, or a base64 encoded string. See also `python/sglang/srt/utils.py:load_image`.
|
||||
Streaming is supported in a similar manner as [above](#streaming).
|
||||
Streaming is supported in a similar manner as [above](#streaming).
|
||||
|
||||
Reference in New Issue
Block a user