Spaces:
Sleeping
Sleeping
seawolf2357
commited on
Update app.py
Browse files
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 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
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.")
|