arxivgpt kim commited on
Commit
054f31c
β€’
1 Parent(s): f9a4649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -2
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)