Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,12 +149,11 @@ if selected_menu == "Video" and st.session_state['current_sub_menu'] == "Remove
|
|
149 |
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
150 |
components.iframe("https://arxivgpt-vidvback.hf.space", width=None, height=1800, scrolling=True)
|
151 |
|
152 |
-
|
153 |
# 'Home' ํ์ด์ง ํ์
|
154 |
if selected_menu == "Home":
|
155 |
st.image("banner2.jpg", use_column_width=True)
|
156 |
st.header("Welcome to ViDraft")
|
157 |
-
st.
|
158 |
|
159 |
# ํ์ ๋ฉ์์ง ๋ฐ ์๋น์ค ์ค๋ช
|
160 |
welcome_text = """
|
@@ -170,48 +169,18 @@ if selected_menu == "Home":
|
|
170 |
Join us to transform your creative ideas into reality with cutting-edge technology designed for creators, by creators.
|
171 |
|
172 |
-Contact: [email protected] / Powered by ArXivGPT, Huggingface, Gradio, Streamlit
|
173 |
-
"""
|
174 |
-
st.write(welcome_text)
|
175 |
-
|
176 |
-
# ์ด๋ฏธ์ง๋ค์ ํ ์ค์ ๋ฐฐ์น
|
177 |
-
cols = st.columns(4) # 4๊ฐ์ ์ด ์์ฑ
|
178 |
-
image_files = [
|
179 |
-
"ViDraft-Video-Templet.png",
|
180 |
-
"ViDraft-Video-search.png",
|
181 |
-
"ViDraft-Image-search.png",
|
182 |
-
"ViDraft-TTS.png",
|
183 |
-
"ViDraft-image-remove background.png",
|
184 |
-
"ViDraft-video-remove-back.png",
|
185 |
-
"ViDraft-video-comp.png",
|
186 |
-
"ViDraft-image-comp.png"
|
187 |
-
]
|
188 |
|
189 |
-
|
190 |
-
"Video Template(OpenAI SORA)",
|
191 |
-
"Free Stock: Video Search",
|
192 |
-
"Free Stock: Image Search",
|
193 |
-
"Multilingual Text to Speech(TTS)",
|
194 |
-
"Remove image background",
|
195 |
-
"Image Compositing",
|
196 |
-
"Remove Video background",
|
197 |
-
"Video Compositing",
|
198 |
-
"Image Compositing"
|
199 |
-
]
|
200 |
-
|
201 |
-
for i, col in enumerate(cols):
|
202 |
-
if i < len(image_files):
|
203 |
-
col.image(image_files[i], use_column_width=True)
|
204 |
-
# Markdown์ ์ฌ์ฉํ์ฌ ์ด๋ฏธ์ง ์๋์ ๊ตต์ ํ
์คํธ ์ถ๊ฐ
|
205 |
-
col.markdown(f"<div style='text-align: center; font-weight: bold; font-size: 20px;'>{image_texts[i]}</div>", unsafe_allow_html=True)
|
206 |
|
207 |
-
|
208 |
-
# ์ด๋ฏธ์ง๋ค์ ํ ์ค์ 4์ฅ์ฉ ๋ฐฐ์น
|
209 |
for i in range(0, len(image_files), 3):
|
210 |
-
cols = st.columns(3)
|
211 |
for col, img_file, img_text in zip(cols, image_files[i:i+3], image_texts[i:i+3]):
|
212 |
with col:
|
213 |
st.image(img_file, use_column_width=True)
|
214 |
-
|
|
|
215 |
|
216 |
|
217 |
elif selected_menu == "Free Stock":
|
|
|
149 |
# iframe์ ์ฌ์ฉํ์ฌ ์ธ๋ถ URL ์๋ฒ ๋
|
150 |
components.iframe("https://arxivgpt-vidvback.hf.space", width=None, height=1800, scrolling=True)
|
151 |
|
|
|
152 |
# 'Home' ํ์ด์ง ํ์
|
153 |
if selected_menu == "Home":
|
154 |
st.image("banner2.jpg", use_column_width=True)
|
155 |
st.header("Welcome to ViDraft")
|
156 |
+
st.subheader("'Create Contents, ViDraft Value-UP'")
|
157 |
|
158 |
# ํ์ ๋ฉ์์ง ๋ฐ ์๋น์ค ์ค๋ช
|
159 |
welcome_text = """
|
|
|
169 |
Join us to transform your creative ideas into reality with cutting-edge technology designed for creators, by creators.
|
170 |
|
171 |
-Contact: [email protected] / Powered by ArXivGPT, Huggingface, Gradio, Streamlit
|
172 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
|
174 |
+
st.write(welcome_text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
+
# ์ด๋ฏธ์ง๋ค์ ํ ์ค์ 3์ฅ์ฉ ๋ฐฐ์น
|
|
|
177 |
for i in range(0, len(image_files), 3):
|
178 |
+
cols = st.columns(3)
|
179 |
for col, img_file, img_text in zip(cols, image_files[i:i+3], image_texts[i:i+3]):
|
180 |
with col:
|
181 |
st.image(img_file, use_column_width=True)
|
182 |
+
# Markdown์ ์ฌ์ฉํ์ฌ ์ด๋ฏธ์ง ์๋์ ๊ตต์ ํ
์คํธ ์ถ๊ฐ
|
183 |
+
col.markdown(f"<div style='text-align: center; font-weight: bold; font-size: 20px;'>{img_text}</div>", unsafe_allow_html=True)
|
184 |
|
185 |
|
186 |
elif selected_menu == "Free Stock":
|