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: Please replace with `host_ip` with you external IP address, do not use localhost.
178
+
Note: Replace with `host_ip` with you external IP address, do not use localhost.
179
179
180
180
### Start all the services with Docker Containers
181
181
@@ -209,110 +209,110 @@ docker compose up -d
209
209
210
210
1. Dataprep Microservice
211
211
212
-
Once the microservice is up, please ingest the videos files into vector store using dataprep microservice. Both single and multiple file(s) upload are supported.
213
-
214
-
```bash
215
-
# Single file upload
216
-
curl -X POST ${DATAPREP_SERVICE_ENDPOINT} \
217
-
-H "Content-Type: multipart/form-data" \
218
-
-F "files=@./file1.mp4"
219
-
# Multiple file upload
220
-
curl -X POST ${DATAPREP_SERVICE_ENDPOINT} \
221
-
-H "Content-Type: multipart/form-data" \
222
-
-F "files=@./file1.mp4" \
223
-
-F "files=@./file2.mp4" \
224
-
-F "files=@./file3.mp4"
225
-
```
226
-
227
-
Use below method to check and download available videos the microservice. The download endpoint is also used for LVM and UI.
Once the microservice is up, ingest the videos files into vector store using dataprep microservice. Both single and multiple file(s) uploads are supported.
213
+
214
+
```bash
215
+
# Single file upload
216
+
curl -X POST ${DATAPREP_SERVICE_ENDPOINT} \
217
+
-H "Content-Type: multipart/form-data" \
218
+
-F "files=@./file1.mp4"
219
+
# Multiple file upload
220
+
curl -X POST ${DATAPREP_SERVICE_ENDPOINT} \
221
+
-H "Content-Type: multipart/form-data" \
222
+
-F "files=@./file1.mp4" \
223
+
-F "files=@./file2.mp4" \
224
+
-F "files=@./file3.mp4"
225
+
```
226
+
227
+
Use below method to check and download available videos the microservice. The download endpoint is also used for LVM and UI.
> To avoid re-download forthe modelincase of restart, please see [here](#clean-microservices)
291
+
> To avoid re-download for the model in case of restart, see [here](#clean-microservices)
292
292
293
293
6. LVM Microservice
294
294
295
-
This service depends on above LLM backend service startup. It will be ready after long time, to waitforthem being readyin first startup.
295
+
This service depends on above LLM backend service startup. It will be ready after long time, to wait for them being ready in first startup.
296
296
297
-
```bash
298
-
curl http://${host_ip}:9000/v1/lvm\
299
-
-X POST \
300
-
-d '{"video_url":"https://github.com/DAMO-NLP-SG/Video-LLaMA/raw/main/examples/silence_girl.mp4","chunk_start": 0,"chunk_duration": 7,"prompt":"What is the person doing?","max_new_tokens": 50}' \
301
-
-H 'Content-Type: application/json'
302
-
```
297
+
```bash
298
+
curl http://${host_ip}:9000/v1/lvm\
299
+
-X POST \
300
+
-d '{"video_url":"https://github.com/DAMO-NLP-SG/Video-LLaMA/raw/main/examples/silence_girl.mp4","chunk_start": 0,"chunk_duration": 7,"prompt":"What is the person doing?","max_new_tokens": 50}' \
301
+
-H 'Content-Type: application/json'
302
+
```
303
303
304
-
> Please note that the local video file will be deleted after completion to conserve disk space.
304
+
> Note that the local video file will be deleted after completion to conserve disk space.
0 commit comments