Spaces:
Running
Running
arxivgpt kim
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -15,10 +15,10 @@ st.sidebar.title("ViDraft")
|
|
15 |
# ๋ฉ๋ด ๋ฐ ํ์ ๋ฉ๋ด ์ ์
|
16 |
menus = {
|
17 |
"Home": [],
|
18 |
-
"BEST": ["Face Swap", "Image Matching", "HOT"],
|
19 |
"Free Stock": ["Template Video", "Search Video", "Search Image"],
|
20 |
"Image": ["Face Swap", "Remove Background", "Compositing", "Image Matching", "URL Screenshot"],
|
21 |
-
"Video": ["Remove Background", "Compositing"],
|
22 |
"Sound": ["TTS(Voice)" ,"Image SFX", "Video SFX","Image Music", "Video Music"]
|
23 |
}
|
24 |
|
@@ -211,6 +211,19 @@ if selected_menu == "BEST" and st.session_state['current_sub_menu'] == "HOT":
|
|
211 |
components.iframe("https://seawolf2357-vidraftgpu.hf.space", width=None, height=1800, scrolling=True)
|
212 |
|
213 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
# 'Home' ํ์ด์ง ํ์
|
215 |
if selected_menu == "Home":
|
216 |
st.image("banner2.jpg", use_column_width=True)
|
|
|
15 |
# ๋ฉ๋ด ๋ฐ ํ์ ๋ฉ๋ด ์ ์
|
16 |
menus = {
|
17 |
"Home": [],
|
18 |
+
"BEST": ["Face Swap", "Image Matching", "Face Avatar", "HOT"],
|
19 |
"Free Stock": ["Template Video", "Search Video", "Search Image"],
|
20 |
"Image": ["Face Swap", "Remove Background", "Compositing", "Image Matching", "URL Screenshot"],
|
21 |
+
"Video": ["Face Avatar", "Remove Background", "Compositing"],
|
22 |
"Sound": ["TTS(Voice)" ,"Image SFX", "Video SFX","Image Music", "Video Music"]
|
23 |
}
|
24 |
|
|
|
211 |
components.iframe("https://seawolf2357-vidraftgpu.hf.space", width=None, height=1800, scrolling=True)
|
212 |
|
213 |
|
214 |
+
# 'video' ๋ฉ๋ด์์ 'Face Avatar' ์ ํ ์
|
215 |
+
if selected_menu == "Video" and st.session_state['current_sub_menu'] == "Face Avatar":
|
216 |
+
st.header("Remove Background")
|
217 |
+
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
218 |
+
components.iframe("https://arxivgpt-face.hf.space", width=None, height=1800, scrolling=True)
|
219 |
+
|
220 |
+
# 'BEST' ๋ฉ๋ด์์ 'Face Avatar' ์ ํ ์
|
221 |
+
if selected_menu == "BEST" and st.session_state['current_sub_menu'] == "Face Avatar":
|
222 |
+
st.header("Remove Background")
|
223 |
+
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
224 |
+
components.iframe("https://arxivgpt-face.hf.space", width=None, height=1800, scrolling=True)
|
225 |
+
|
226 |
+
|
227 |
# 'Home' ํ์ด์ง ํ์
|
228 |
if selected_menu == "Home":
|
229 |
st.image("banner2.jpg", use_column_width=True)
|