Spaces:
Sleeping
Sleeping
seawolf2357
commited on
Commit
β’
82676c7
1
Parent(s):
9b0811f
Update app.py
Browse files
app.py
CHANGED
@@ -127,14 +127,10 @@ if selected_menu == "Image" and st.session_state['current_sub_menu'] == "Remove
|
|
127 |
# iframeμ μ¬μ©νμ¬ μΈλΆ URL μλ² λ
|
128 |
components.iframe("https://seawolf2357-gttstest.hf.space", width=None, height=600, scrolling=True)
|
129 |
|
130 |
-
|
131 |
-
|
132 |
# 'Home' νμ΄μ§ νμ
|
133 |
if selected_menu == "Home":
|
|
|
134 |
st.header("Welcome to ViDraft")
|
135 |
-
|
136 |
-
# banner.jpg νμΌμ νλ©΄ μλ¨μ νμ
|
137 |
-
st.image("banner.jpg", use_column_width=True)
|
138 |
|
139 |
# νμ λ©μμ§ λ° μλΉμ€ μ€λͺ
|
140 |
welcome_text = """
|
@@ -148,9 +144,28 @@ if selected_menu == "Home":
|
|
148 |
- **Scripts**: Access a wide range of scripting tools and resources to bring your stories to life.
|
149 |
|
150 |
Join us to transform your creative ideas into reality with cutting-edge technology designed for creators, by creators.
|
151 |
-
"""
|
152 |
st.write(welcome_text)
|
153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
|
155 |
elif selected_menu == "Free Stock":
|
156 |
# 'Free Stock' λ©λ΄ μ ν μ μ²λ¦¬ λ‘μ§
|
|
|
127 |
# iframeμ μ¬μ©νμ¬ μΈλΆ URL μλ² λ
|
128 |
components.iframe("https://seawolf2357-gttstest.hf.space", width=None, height=600, scrolling=True)
|
129 |
|
|
|
|
|
130 |
# 'Home' νμ΄μ§ νμ
|
131 |
if selected_menu == "Home":
|
132 |
+
st.image("banner.jpg", use_column_width=True)
|
133 |
st.header("Welcome to ViDraft")
|
|
|
|
|
|
|
134 |
|
135 |
# νμ λ©μμ§ λ° μλΉμ€ μ€λͺ
|
136 |
welcome_text = """
|
|
|
144 |
- **Scripts**: Access a wide range of scripting tools and resources to bring your stories to life.
|
145 |
|
146 |
Join us to transform your creative ideas into reality with cutting-edge technology designed for creators, by creators.
|
147 |
+
"""
|
148 |
st.write(welcome_text)
|
149 |
|
150 |
+
# μ΄λ―Έμ§λ€μ ν μ€μ λ°°μΉ
|
151 |
+
cols = st.columns(4) # 4κ°μ μ΄ μμ±
|
152 |
+
image_files = [
|
153 |
+
"ViDraft-Video-Templet.png",
|
154 |
+
"ViDraft-Video-search.png",
|
155 |
+
"ViDraft-Image-search.png",
|
156 |
+
"ViDraft-TTS.png"
|
157 |
+
]
|
158 |
+
image_texts = [
|
159 |
+
"Video Template",
|
160 |
+
"Video Search",
|
161 |
+
"Image Search",
|
162 |
+
"TTS (Voice)"
|
163 |
+
]
|
164 |
+
for col, img_file, img_text in zip(cols, image_files, image_texts):
|
165 |
+
with col:
|
166 |
+
st.image(img_file, use_column_width=True)
|
167 |
+
st.caption(img_text) # νμΌλͺ
μ ν΅ν΄ μ΄λ―Έμ§ μλ ν
μ€νΈ λ°μ
|
168 |
+
|
169 |
|
170 |
elif selected_menu == "Free Stock":
|
171 |
# 'Free Stock' λ©λ΄ μ ν μ μ²λ¦¬ λ‘μ§
|