seawolf2357 commited on
Commit
130998d
ยท
verified ยท
1 Parent(s): 9300be6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -13
app.py CHANGED
@@ -33,16 +33,19 @@ if selected_menu and selected_sub_menu:
33
  st.subheader(f"{selected_menu} > {selected_sub_menu}")
34
  # ์—ฌ๊ธฐ์— ์„ ํƒ๋œ ๋ฉ”๋‰ด์— ๋”ฐ๋ฅธ ์ฝ˜ํ…์ธ  ํ‘œ์‹œ ๋กœ์ง ์ถ”๊ฐ€
35
 
36
-
37
- # 'Template Video'๊ฐ€ ์„ ํƒ๋˜์—ˆ์„ ๋•Œ ๋น„๋””์˜ค ๊ฐค๋Ÿฌ๋ฆฌ๋ฅผ ํ‘œ์‹œ
38
- if selected_menu == "Free Stock" and selected_sub_menu == "Template Video":
39
- st.subheader("Template Videos")
40
-
41
- # ๋น„๋””์˜ค ํŒŒ์ผ ๊ฒฝ๋กœ ์„ค์ •
42
- video_files = ["ex1.mp4", "ex2.mp4", "ex3.mp4", "ex4.mp4", "ex5.mp4", "ex6.mp4", "ex7.mp4","ex8.mp4", "ex9.mp4", "ex10.mp4", "ex11.mp4", "ex12.mp4", "ex13.mp4", "ex14.mp4","ex15.mp4", "ex16.mp4", "ex17.mp4", "ex18.mp4"]
43
-
44
- # ๊ฐค๋Ÿฌ๋ฆฌ ํ˜•ํƒœ๋กœ ๋น„๋””์˜ค ํ‘œ์‹œ
45
- cols = st.columns(2) # 2๊ฐœ์˜ ์—ด๋กœ ๋„“๊ฒŒ ๋ฐฐ์น˜
46
- for index, video_file in enumerate(video_files):
47
- with cols[index % 2]:
48
- st.video(video_file)
 
 
 
 
33
  st.subheader(f"{selected_menu} > {selected_sub_menu}")
34
  # ์—ฌ๊ธฐ์— ์„ ํƒ๋œ ๋ฉ”๋‰ด์— ๋”ฐ๋ฅธ ์ฝ˜ํ…์ธ  ํ‘œ์‹œ ๋กœ์ง ์ถ”๊ฐ€
35
 
36
+ # 'Template Video'๊ฐ€ ์„ ํƒ๋˜์—ˆ์„ ๋•Œ ๋น„๋””์˜ค ๊ฐค๋Ÿฌ๋ฆฌ๋ฅผ ํ‘œ์‹œ
37
+ if selected_menu == "Free Stock" and selected_sub_menu == "Template Video":
38
+ st.subheader("Template Videos")
39
+
40
+ # ๋น„๋””์˜ค ํŒŒ์ผ ๊ฒฝ๋กœ ์„ค์ •
41
+ video_files = ["ex1.mp4", "ex2.mp4", "ex3.mp4", "ex4.mp4", "ex5.mp4", "ex6.mp4", "ex7.mp4","ex8.mp4", "ex9.mp4", "ex10.mp4", "ex11.mp4", "ex12.mp4", "ex13.mp4", "ex14.mp4","ex15.mp4", "ex16.mp4", "ex17.mp4", "ex18.mp4"]
42
+
43
+ # ๊ฐค๋Ÿฌ๋ฆฌ ํ˜•ํƒœ๋กœ ๋น„๋””์˜ค ํ‘œ์‹œ
44
+ cols = st.columns(2) # 2๊ฐœ์˜ ์—ด๋กœ ๋„“๊ฒŒ ๋ฐฐ์น˜
45
+ for index, video_file in enumerate(video_files):
46
+ with cols[index % 2]:
47
+ st.video(video_file)
48
+ else:
49
+ # ์•„๋ฌด๊ฒƒ๋„ ์„ ํƒ๋˜์ง€ ์•Š์•˜์„ ๋•Œ ๊ธฐ๋ณธ ํ™”๋ฉด์— "ViDraft" ์ถœ๋ ฅ
50
+ st.title("ViDraft")
51
+ st.write("Welcome to ViDraft! Please select an option from the sidebar to get started.")