Skip to content

Commit

Permalink
use public images as sample video
Browse files Browse the repository at this point in the history
hxhxhx88 committed Sep 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent ded70ac commit 021fe94
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/frontend/src/component/resource/MutateVideo.tsx
Original file line number Diff line number Diff line change
@@ -16,11 +16,10 @@ frame_0002_url
frame_0003_url
...`;

const sampleVideoUrls = `/app/image/example/driving/driving-0000051.jpg
/app/image/example/driving/driving-0000052.jpg
/app/image/example/driving/driving-0000053.jpg
/app/image/example/driving/driving-0000054.jpg
/app/image/example/driving/driving-0000055.jpg`;
const sampleVideoUrlHost = 'https://nutsh-public.s3.eu-central-1.amazonaws.com/demo/video/driving';
const sampleVideoUrls = Array.from({length: 100})
.map((_, i) => `${sampleVideoUrlHost}/intersection-${(i + 51).toString().padStart(7, '0')}.jpg`)
.join('\n');

const CreateForm = forwardRef<FormInstance, FormProps>((formProps, ref) => {
const [form] = Form.useForm();

0 comments on commit 021fe94

Please sign in to comment.