arxivgpt kim commited on
Commit
d299663
โ€ข
1 Parent(s): ccb75f9

Update app.py

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