Spaces:
Running
Running
arxivgpt kim
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ st.sidebar.title("ViDraft")
|
|
16 |
menus = {
|
17 |
"Home": [],
|
18 |
"Free Stock": ["Template Video", "Search Video", "Search Image"],
|
19 |
-
"Image": ["Face Swap", "Remove Background", "Compositing"],
|
20 |
-
"Video": ["Generation", "Talking Face", "Remove Background", "Compositing"],
|
21 |
"Sound": ["TTS(Voice)", "Video SFX", "Video Music","Image SFX", "Image Music"],
|
22 |
"Scripts": []
|
23 |
}
|
@@ -153,7 +153,19 @@ if selected_menu == "Video" and st.session_state['current_sub_menu'] == "Remove
|
|
153 |
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
154 |
components.iframe("https://arxivgpt-vidvback.hf.space", width=None, height=1800, scrolling=True)
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
# 'Home' ํ์ด์ง ํ์
|
159 |
if selected_menu == "Home":
|
@@ -240,15 +252,9 @@ elif selected_menu == "Video":
|
|
240 |
|
241 |
# 'Sound' ๋ฉ๋ด ์ ํ ์ ์ฒ๋ฆฌ ๋ก์ง
|
242 |
elif selected_menu == "Sound":
|
243 |
-
if st.session_state['current_sub_menu'] == "Video SFX":
|
244 |
-
st.header("Video Sound Effects")
|
245 |
-
st.write("Enhance your videos with sound effects.")
|
246 |
elif st.session_state['current_sub_menu'] == "Video Music":
|
247 |
st.header("Video Music")
|
248 |
st.write("Find the perfect music for your video content.")
|
249 |
-
elif st.session_state['current_sub_menu'] == "Image SFX":
|
250 |
-
st.header("Image Sound Effects")
|
251 |
-
st.write("Add sound effects to your images.")
|
252 |
elif st.session_state['current_sub_menu'] == "Image Music":
|
253 |
st.header("Image Music")
|
254 |
st.write("Associate music tracks with your images.")
|
|
|
16 |
menus = {
|
17 |
"Home": [],
|
18 |
"Free Stock": ["Template Video", "Search Video", "Search Image"],
|
19 |
+
"Image": ["Face Swap", "SFX", "Remove Background", "Compositing"],
|
20 |
+
"Video": ["Generation", "Talking Face", "SFX", "Remove Background", "Compositing"],
|
21 |
"Sound": ["TTS(Voice)", "Video SFX", "Video Music","Image SFX", "Image Music"],
|
22 |
"Scripts": []
|
23 |
}
|
|
|
153 |
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
154 |
components.iframe("https://arxivgpt-vidvback.hf.space", width=None, height=1800, scrolling=True)
|
155 |
|
156 |
+
|
157 |
+
# 'Image' ๋ฉ๋ด์์ 'SFX' ์ ํ ์
|
158 |
+
if selected_menu == "Image" and st.session_state['current_sub_menu'] == "SFX":
|
159 |
+
st.header("Image SFX")
|
160 |
+
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
161 |
+
components.iframe("https://arxivgpt-vidisfx.hf.space", width=None, height=1800, scrolling=True)
|
162 |
|
163 |
+
# 'video' ๋ฉ๋ด์์ 'SFX' ์ ํ ์
|
164 |
+
if selected_menu == "Video" and st.session_state['current_sub_menu'] == "SFX":
|
165 |
+
st.header("Video SFX")
|
166 |
+
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
167 |
+
components.iframe("https://arxivgpt-vidvsfx.hf.space", width=None, height=1800, scrolling=True)
|
168 |
+
|
169 |
|
170 |
# 'Home' ํ์ด์ง ํ์
|
171 |
if selected_menu == "Home":
|
|
|
252 |
|
253 |
# 'Sound' ๋ฉ๋ด ์ ํ ์ ์ฒ๋ฆฌ ๋ก์ง
|
254 |
elif selected_menu == "Sound":
|
|
|
|
|
|
|
255 |
elif st.session_state['current_sub_menu'] == "Video Music":
|
256 |
st.header("Video Music")
|
257 |
st.write("Find the perfect music for your video content.")
|
|
|
|
|
|
|
258 |
elif st.session_state['current_sub_menu'] == "Image Music":
|
259 |
st.header("Image Music")
|
260 |
st.write("Associate music tracks with your images.")
|