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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -16,9 +16,9 @@ st.sidebar.title("ViDraft")
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
  }
24
 
@@ -154,14 +154,14 @@ if selected_menu == "Video" and st.session_state['current_sub_menu'] == "Remove
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)
 
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)" ,"Image SFX","Video SFX", "Image Music","Video Music"],
22
  "Scripts": []
23
  }
24
 
 
154
  components.iframe("https://arxivgpt-vidvback.hf.space", width=None, height=1800, scrolling=True)
155
 
156
 
157
+ # 'sound' ๋ฉ”๋‰ด์—์„œ 'SFX' ์„ ํƒ ์‹œ
158
+ if selected_menu == "Sound" and st.session_state['current_sub_menu'] == "Image 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
+ # 'sound' ๋ฉ”๋‰ด์—์„œ 'SFX' ์„ ํƒ ์‹œ
164
+ if selected_menu == "Sound" and st.session_state['current_sub_menu'] == "Video SFX":
165
  st.header("Video SFX")
166
  # iframe์„ ์‚ฌ์šฉํ•˜์—ฌ ์™ธ๋ถ€ URL ์ž„๋ฒ ๋“œ
167
  components.iframe("https://arxivgpt-vidvsfx.hf.space", width=None, height=1800, scrolling=True)