Spaces:
Running
Running
arxivgpt kim
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ menus = {
|
|
17 |
"Home": [],
|
18 |
"Free Stock": ["Template Video", "Search Video", "Search Image"],
|
19 |
"Image": ["Face Swap", "Remove Background", "Compositing"],
|
20 |
-
"Video": ["
|
21 |
"Sound": ["TTS(Voice)" ,"Image SFX", "Video SFX"],
|
22 |
"Scripts": []
|
23 |
}
|
@@ -227,6 +227,9 @@ if selected_menu == "Home":
|
|
227 |
col.markdown(f"<div style='text-align: center; font-weight: bold; font-size: 20px;'>{image_texts[i + idx]}</div>", unsafe_allow_html=True)
|
228 |
|
229 |
|
|
|
|
|
|
|
230 |
elif selected_menu == "Free Stock":
|
231 |
# 'Free Stock' ๋ฉ๋ด ์ ํ ์ ์ฒ๋ฆฌ ๋ก์ง
|
232 |
if st.session_state['current_sub_menu'] == "Template Video":
|
@@ -239,20 +242,6 @@ elif selected_menu == "Free Stock":
|
|
239 |
for index, video_file in enumerate(video_files):
|
240 |
with cols[index % 2]:
|
241 |
st.video(video_file)
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
# 'Video' ๋ฉ๋ด ์ ํ ์ ์ฒ๋ฆฌ ๋ก์ง
|
248 |
-
elif selected_menu == "Video":
|
249 |
-
if st.session_state['current_sub_menu'] == "Generation":
|
250 |
-
st.header("Video Generation")
|
251 |
-
st.write("Create videos with our generation tools.")
|
252 |
-
elif st.session_state['current_sub_menu'] == "Talking Face":
|
253 |
-
st.header("Talking Face Videos")
|
254 |
-
st.write("Generate talking face videos from images.")
|
255 |
-
|
256 |
|
257 |
# 'Scripts' ๋ฉ๋ด ์ ํ ์ ์ฒ๋ฆฌ ๋ก์ง
|
258 |
elif selected_menu == "Scripts":
|
|
|
17 |
"Home": [],
|
18 |
"Free Stock": ["Template Video", "Search Video", "Search Image"],
|
19 |
"Image": ["Face Swap", "Remove Background", "Compositing"],
|
20 |
+
"Video": ["Remove Background", "Compositing"],
|
21 |
"Sound": ["TTS(Voice)" ,"Image SFX", "Video SFX"],
|
22 |
"Scripts": []
|
23 |
}
|
|
|
227 |
col.markdown(f"<div style='text-align: center; font-weight: bold; font-size: 20px;'>{image_texts[i + idx]}</div>", unsafe_allow_html=True)
|
228 |
|
229 |
|
230 |
+
|
231 |
+
|
232 |
+
|
233 |
elif selected_menu == "Free Stock":
|
234 |
# 'Free Stock' ๋ฉ๋ด ์ ํ ์ ์ฒ๋ฆฌ ๋ก์ง
|
235 |
if st.session_state['current_sub_menu'] == "Template Video":
|
|
|
242 |
for index, video_file in enumerate(video_files):
|
243 |
with cols[index % 2]:
|
244 |
st.video(video_file)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
# 'Scripts' ๋ฉ๋ด ์ ํ ์ ์ฒ๋ฆฌ ๋ก์ง
|
247 |
elif selected_menu == "Scripts":
|