arxivgpt kim commited on
Commit
f9a4649
ยท
verified ยท
1 Parent(s): dd4114b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -3
app.py CHANGED
@@ -15,11 +15,11 @@ st.sidebar.title("ViDraft")
15
  # ๋ฉ”๋‰ด ๋ฐ ํ•˜์œ„ ๋ฉ”๋‰ด ์ •์˜
16
  menus = {
17
  "Home": [],
 
18
  "Free Stock": ["Template Video", "Search Video", "Search Image"],
19
  "Image": ["Face Swap", "Remove Background", "Compositing", "Image Matching", "URL Screenshot"],
20
  "Video": ["Remove Background", "Compositing"],
21
- "Sound": ["TTS(Voice)" ,"Image SFX", "Video SFX","Image Music", "Video Music"],
22
- "Scripts": []
23
  }
24
 
25
  # ์„ธ์…˜ ์ƒํƒœ ์ดˆ๊ธฐํ™”
@@ -190,9 +190,26 @@ if selected_menu == "Sound" and st.session_state['current_sub_menu'] == "Image M
190
  st.header("Image Music")
191
  # iframe์„ ์‚ฌ์šฉํ•˜์—ฌ ์™ธ๋ถ€ URL ์ž„๋ฒ ๋“œ
192
  components.iframe("https://arxivgpt-vidim.hf.space", width=None, height=1800, scrolling=True)
193
-
194
 
 
 
 
 
 
 
195
 
 
 
 
 
 
 
 
 
 
 
 
 
196
 
197
  # 'Home' ํŽ˜์ด์ง€ ํ‘œ์‹œ
198
  if selected_menu == "Home":
 
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
 
25
  # ์„ธ์…˜ ์ƒํƒœ ์ดˆ๊ธฐํ™”
 
190
  st.header("Image Music")
191
  # iframe์„ ์‚ฌ์šฉํ•˜์—ฌ ์™ธ๋ถ€ URL ์ž„๋ฒ ๋“œ
192
  components.iframe("https://arxivgpt-vidim.hf.space", width=None, height=1800, scrolling=True)
 
193
 
194
+
195
+ # 'BEST' ๋ฉ”๋‰ด์—์„œ 'Face Swap' ์„ ํƒ ์‹œ
196
+ if selected_menu == "BEST" and st.session_state['current_sub_menu'] == "Face Swap":
197
+ st.header("Face Swap")
198
+ # iframe์„ ์‚ฌ์šฉํ•˜์—ฌ ์™ธ๋ถ€ URL ์ž„๋ฒ ๋“œ
199
+ components.iframe("https://seawolf2357-vidifs.hf.space", width=None, height=1800, scrolling=True)
200
 
201
+ # 'BEST' ๋ฉ”๋‰ด์—์„œ 'Image Matching' ์„ ํƒ ์‹œ
202
+ if selected_menu == "BEST" and st.session_state['current_sub_menu'] == "Image Matching":
203
+ st.header("Image Matching")
204
+ # iframe์„ ์‚ฌ์šฉํ•˜์—ฌ ์™ธ๋ถ€ URL ์ž„๋ฒ ๋“œ
205
+ components.iframe("https://seawolf2357-vidimatch.hf.space", width=None, height=1800, scrolling=True)
206
+
207
+ # 'BEST' ๋ฉ”๋‰ด์—์„œ 'HOT' ์„ ํƒ ์‹œ
208
+ if selected_menu == "BEST" and st.session_state['current_sub_menu'] == "HOT":
209
+ st.header("Image & Video EDIT")
210
+ # iframe์„ ์‚ฌ์šฉํ•˜์—ฌ ์™ธ๋ถ€ URL ์ž„๋ฒ ๋“œ
211
+ components.iframe("https://seawolf2357-vidraftgpu.hf.space", width=None, height=1800, scrolling=True)
212
+
213
 
214
  # 'Home' ํŽ˜์ด์ง€ ํ‘œ์‹œ
215
  if selected_menu == "Home":