You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the `-F "messages="` flag is required, even for file uploads. Multiple files can be uploaded in a single call with multiple `-F "files=@/path"` inputs.
243
+
242
244
### Query with audio and video
243
245
244
-
> Audio and Video file uploads are not supported in docsum with curl request, please use the Gradio-UI.
246
+
> Audio and video can be passed as base64 strings or uploaded by providing a local file path.
245
247
246
248
Audio:
247
249
248
250
```bash
251
+
# Send base64 string
249
252
curl -X POST http://${HOST_IP}:${DOCSUM_BACKEND_SERVER_PORT}/v1/docsum \
-F "files=@/path to your file (.txt, .docx, .pdf)" \
158
158
-F "max_tokens=32" \
159
-
-F "language=en" \
159
+
-F "language=en"
160
160
```
161
161
162
+
Note that the `-F "messages="` flag is required, even for file uploads. Multiple files can be uploaded in a single call with multiple `-F "files=@/path"` inputs.
163
+
162
164
### Query with audio and video
163
165
164
-
> Audio and Video file uploads are not supported in docsum with curl request, please use the Gradio-UI.
166
+
> Audio and video can be passed as base64 strings or uploaded by providing a local file path.
Note that the `-F "messages="` flag is required, even for file uploads. Multiple files can be uploaded in a single call with multiple `-F "files=@/path"` inputs.
165
+
164
166
### Query with audio and video
165
167
166
-
> Audio and Video file uploads are not supported in docsum with curl request, please use the Gradio-UI.
168
+
> Audio and video can be passed as base64 strings or uploaded by providing a local file path.
0 commit comments