YoungjaeDev Claude commited on
Commit
f09549f
·
1 Parent(s): 028930f

feat: 예제 비디오 업데이트 및 페이지네이션 추가

Browse files

- 기존 AI Hub 예제 비디오 6개 삭제
- 새로운 낙상/비낙상 시나리오 비디오 8개 추가
- gr.Examples에 examples_per_page=4 적용 (페이지당 4개씩)
- 파일명순 정렬로 일관된 순서 보장

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

app.py CHANGED
@@ -758,11 +758,13 @@ def create_demo() -> gr.Blocks:
758
 
759
  if examples:
760
  gr.Examples(
761
- examples=[[ex, 0.7, "all"] for ex in examples[:3]],
762
  inputs=[video_input, fall_threshold, viz_keypoints],
763
  outputs=[video_output, prob_graph, result_text],
764
  fn=process_video,
765
  cache_examples=False,
 
 
766
  )
767
 
768
  # 이벤트 연결
 
758
 
759
  if examples:
760
  gr.Examples(
761
+ examples=[[ex, 0.7, "all"] for ex in sorted(examples)],
762
  inputs=[video_input, fall_threshold, viz_keypoints],
763
  outputs=[video_output, prob_graph, result_text],
764
  fn=process_video,
765
  cache_examples=False,
766
+ examples_per_page=4,
767
+ label="예제 비디오",
768
  )
769
 
770
  # 이벤트 연결
examples/01602_L_F_BY_C2.mp4 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7997c263b35c33bdcf4daa9caee37c70eaf864ca68a1d55306a82f7e2f184183
3
- size 13820623
 
 
 
 
examples/01823_Y_A_BY_C4.mp4 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:adf7972e75d173c659f343d19a97cb1de0f533f4a46dc3555a4bd4002726a305
3
- size 10517437
 
 
 
 
examples/{00050_H_A_BY_C1.mp4 → 1-걸어오다 앞으로 넘어질뻔 하다가 일어남.mp4} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9b8a0348200c40663bb852f4c590470ed95f43cf0cdb5c184eb69601b34c99e
3
- size 13167084
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e11033abc26004fce5f821087b749dff0236aee5b7bfe430673c8619c30c96d
3
+ size 6236229
examples/{00050_H_A_BY_C2.mp4 → 1-걸어오다 앞으로 쓰러짐.mp4} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a49cc52f966b4532590e0e3f4b3303304c64bd3812fb86a05a445756f4ebb8bb
3
- size 13299992
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71907489164047eab3c507c2bb319d1de47f7ee8e6a0ef01bf625ea59018bd0d
3
+ size 6674693
examples/{00750_O_E_BY_C1.mp4 → 2-걸어오다 뒤로 넘어질뻔 하다가 일어남.mp4} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b2473e3c40d6eb09b6343a17a19a4deebc1118c709eb4b5c8df1935ced9198d
3
- size 12700514
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:945d587ebdb8cef41d7c4da582213a390a5ba36f2a57d1b4a33c67782091f733
3
+ size 6364622
examples/{00750_O_E_BY_C2.mp4 → 2-걸어오다 뒤로 쓰러짐.mp4} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:09d4530baeefa30a00cabea8823663b1f126599b9a7327f8619b8170d81b0a07
3
- size 13285269
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d151121901a229871a066c5a5306563de3eacae8b28e4031f8ff9fae0af06698
3
+ size 6236405
examples/3-걸어오다 뒤로 쓰러짐_2.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44ee29f36262f7813bbe5567af09d958f018e01e5a0f832c9854fa5603834670
3
+ size 6279714
examples/3-걸어오다 앞으로 넘어질뻔 하다가 일어나 소파에 앉음.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2249fcb96f436b11b88e3f061314431f212fcd649681f30e6c680001b3d4d03a
3
+ size 6390982
examples/4-걸어오다 옆으로 쓰러짐.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0388144652c5604010d96f428f709888760bb65fd54cb9e690358245890b39e
3
+ size 6247455
examples/5-소파에서 일어서다가 앞으로 쓰러짐.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15498acc8530aee8cc78111c513770d0f87e7e3b520aaa508eba0a5a87d0dd4b
3
+ size 6133351