arxivgpt kim commited on
Commit
054f31c
ยท
verified ยท
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)