Update app.py
Browse files
app.py
CHANGED
@@ -131,50 +131,51 @@ def update_thumbnails(video, start_time_str, end_time_str):
|
|
131 |
# -------------------------------
|
132 |
custom_css = """
|
133 |
body {
|
134 |
-
font-size: 1.6em;
|
135 |
background-color: #ffffff;
|
136 |
font-family: 'Arial', sans-serif;
|
137 |
}
|
138 |
.gradio-container {
|
139 |
-
width: 80% !important;
|
140 |
margin: 0 auto;
|
|
|
141 |
}
|
142 |
/* ์ ๋ชฉ ๋ฐ ์ฌ์ฉ๊ฐ์ด๋ (์ผ์ชฝ ์ ๋ ฌ, ํฌ๊ฒ) */
|
143 |
.custom-title {
|
144 |
-
font-size: 3.5em;
|
145 |
font-weight: bold;
|
146 |
margin: 20px 0;
|
147 |
color: #2c3e50;
|
148 |
text-align: left;
|
149 |
}
|
150 |
.custom-user-guide {
|
151 |
-
font-size: 1.8em;
|
152 |
margin-bottom: 20px;
|
153 |
color: #2c3e50;
|
154 |
text-align: left;
|
155 |
}
|
156 |
/* ์ฌ์ฉ๊ฐ์ด๋ ๋ฐ์ค ์คํ์ผ (ํ์ ์ ๊ฑฐ, ํฐ์ ๋ฐฐ๊ฒฝ) */
|
157 |
.guide-box {
|
158 |
-
border:
|
159 |
border-radius: 10px;
|
160 |
-
padding: 20px;
|
161 |
background-color: #ffffff;
|
162 |
margin: 20px 0;
|
163 |
text-align: left;
|
164 |
-
font-size: 1.
|
165 |
}
|
166 |
/* ํ๋ ์ ์คํ์ผ */
|
167 |
.frame {
|
168 |
-
border: 3px solid #3498db;
|
169 |
border-radius: 20px;
|
170 |
-
padding: 25px;
|
171 |
background-color: #ffffff;
|
172 |
margin: 15px;
|
173 |
-
box-shadow:
|
174 |
}
|
175 |
/* ๊ฐ ํ๋ ์ ์ ๋ชฉ ํฌ๊ฒ */
|
176 |
.frame h3 {
|
177 |
-
font-size: 2.
|
178 |
margin-bottom: 20px;
|
179 |
text-align: left;
|
180 |
}
|
@@ -190,68 +191,52 @@ body {
|
|
190 |
/* ํฌ์ธํธ ๋ฒํผ ์คํ์ผ */
|
191 |
.gif-button {
|
192 |
margin-top: 35px;
|
193 |
-
padding: 20px
|
194 |
-
font-size: 1.8em;
|
195 |
-
background-color: #
|
196 |
color: #fff;
|
197 |
border: none;
|
198 |
-
border-radius:
|
199 |
cursor: pointer;
|
200 |
-
font-weight: bold;
|
201 |
-
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
202 |
-
transition: all 0.3s ease;
|
203 |
-
}
|
204 |
-
.gif-button:hover {
|
205 |
-
background-color: #ff8c33;
|
206 |
-
transform: translateY(-3px);
|
207 |
}
|
208 |
/* ์ฌ๋ผ์ด๋ ์คํ์ผ (๊ธ์์ ๋ฐ ํฌ๊ฒ) */
|
209 |
input[type=range] {
|
210 |
-
height: 30px;
|
211 |
}
|
212 |
input[type=range]::-webkit-slider-thumb {
|
213 |
-
height: 30px;
|
214 |
-
width: 30px;
|
215 |
}
|
216 |
.slider-label {
|
217 |
-
font-size: 1.6em;
|
218 |
margin-bottom: 8px;
|
219 |
}
|
220 |
/* ๋ชจ๋ input, select, button ๊ธ์ ํฌ๊ธฐ ํค์ */
|
221 |
input, button, select, textarea {
|
222 |
-
font-size: 1.
|
223 |
}
|
224 |
-
/*
|
225 |
-
label {
|
226 |
-
font-size: 1.3em !important;
|
|
|
227 |
}
|
228 |
/* ํ์ ๋ฐฐ๊ฒฝ ์ ๊ฑฐ */
|
229 |
-
.gradio-container .prose
|
230 |
-
|
231 |
-
|
232 |
-
}
|
233 |
-
.gradio-container .gr-form {
|
234 |
-
background-color: #ffffff !important;
|
235 |
-
}
|
236 |
.gradio-container .gr-panel {
|
237 |
background-color: #ffffff !important;
|
238 |
}
|
239 |
-
.gradio-container .gr-
|
240 |
-
|
241 |
-
|
242 |
-
.gradio-container .gr-input {
|
243 |
background-color: #ffffff !important;
|
244 |
-
border: 2px solid #3498db !important;
|
245 |
}
|
246 |
-
.gradio-container .gr-
|
247 |
-
|
248 |
-
|
249 |
-
.gradio-container .gr-
|
250 |
-
|
251 |
-
}
|
252 |
-
/* ๋ชจ๋ ํ์ ๋ฐฐ๊ฒฝ ์ ๊ฑฐ */
|
253 |
-
* {
|
254 |
-
background-color: #ffffff !important;
|
255 |
}
|
256 |
"""
|
257 |
|
|
|
131 |
# -------------------------------
|
132 |
custom_css = """
|
133 |
body {
|
134 |
+
font-size: 1.6em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
135 |
background-color: #ffffff;
|
136 |
font-family: 'Arial', sans-serif;
|
137 |
}
|
138 |
.gradio-container {
|
139 |
+
width: 80% !important;
|
140 |
margin: 0 auto;
|
141 |
+
background-color: #ffffff; /* ํ์ ์ ๊ฑฐ */
|
142 |
}
|
143 |
/* ์ ๋ชฉ ๋ฐ ์ฌ์ฉ๊ฐ์ด๋ (์ผ์ชฝ ์ ๋ ฌ, ํฌ๊ฒ) */
|
144 |
.custom-title {
|
145 |
+
font-size: 3.5em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
146 |
font-weight: bold;
|
147 |
margin: 20px 0;
|
148 |
color: #2c3e50;
|
149 |
text-align: left;
|
150 |
}
|
151 |
.custom-user-guide {
|
152 |
+
font-size: 1.8em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
153 |
margin-bottom: 20px;
|
154 |
color: #2c3e50;
|
155 |
text-align: left;
|
156 |
}
|
157 |
/* ์ฌ์ฉ๊ฐ์ด๋ ๋ฐ์ค ์คํ์ผ (ํ์ ์ ๊ฑฐ, ํฐ์ ๋ฐฐ๊ฒฝ) */
|
158 |
.guide-box {
|
159 |
+
border: 3px solid #3498db; /* ํ
๋๋ฆฌ ๋๊ป ์ฆ๊ฐ */
|
160 |
border-radius: 10px;
|
161 |
+
padding: 20px; /* ํจ๋ฉ ์ฆ๊ฐ */
|
162 |
background-color: #ffffff;
|
163 |
margin: 20px 0;
|
164 |
text-align: left;
|
165 |
+
font-size: 1.2em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
166 |
}
|
167 |
/* ํ๋ ์ ์คํ์ผ */
|
168 |
.frame {
|
169 |
+
border: 3px solid #3498db; /* ํ
๋๋ฆฌ ๋๊ป ์ฆ๊ฐ */
|
170 |
border-radius: 20px;
|
171 |
+
padding: 25px; /* ํจ๋ฉ ์ฆ๊ฐ */
|
172 |
background-color: #ffffff;
|
173 |
margin: 15px;
|
174 |
+
box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
|
175 |
}
|
176 |
/* ๊ฐ ํ๋ ์ ์ ๋ชฉ ํฌ๊ฒ */
|
177 |
.frame h3 {
|
178 |
+
font-size: 2.2em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
179 |
margin-bottom: 20px;
|
180 |
text-align: left;
|
181 |
}
|
|
|
191 |
/* ํฌ์ธํธ ๋ฒํผ ์คํ์ผ */
|
192 |
.gif-button {
|
193 |
margin-top: 35px;
|
194 |
+
padding: 20px 35px; /* ํจ๋ฉ ์ฆ๊ฐ */
|
195 |
+
font-size: 1.8em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
196 |
+
background-color: #e67e22;
|
197 |
color: #fff;
|
198 |
border: none;
|
199 |
+
border-radius: 12px;
|
200 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
}
|
202 |
/* ์ฌ๋ผ์ด๋ ์คํ์ผ (๊ธ์์ ๋ฐ ํฌ๊ฒ) */
|
203 |
input[type=range] {
|
204 |
+
height: 30px; /* ๋์ด ์ฆ๊ฐ */
|
205 |
}
|
206 |
input[type=range]::-webkit-slider-thumb {
|
207 |
+
height: 30px; /* ๋์ด ์ฆ๊ฐ */
|
208 |
+
width: 30px; /* ๋๋น ์ฆ๊ฐ */
|
209 |
}
|
210 |
.slider-label {
|
211 |
+
font-size: 1.6em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
212 |
margin-bottom: 8px;
|
213 |
}
|
214 |
/* ๋ชจ๋ input, select, button ๊ธ์ ํฌ๊ธฐ ํค์ */
|
215 |
input, button, select, textarea {
|
216 |
+
font-size: 1.5em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
217 |
}
|
218 |
+
/* ๋ผ๋ฒจ ๊ธ์ ํฌ๊ธฐ ํค์ */
|
219 |
+
label, .label-wrap span {
|
220 |
+
font-size: 1.3em !important; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
221 |
+
font-weight: bold;
|
222 |
}
|
223 |
/* ํ์ ๋ฐฐ๊ฒฝ ์ ๊ฑฐ */
|
224 |
+
.gradio-container .prose,
|
225 |
+
.gradio-container .gr-box,
|
226 |
+
.gradio-container .gr-form,
|
|
|
|
|
|
|
|
|
227 |
.gradio-container .gr-panel {
|
228 |
background-color: #ffffff !important;
|
229 |
}
|
230 |
+
.gradio-container .gr-form,
|
231 |
+
.gradio-container .gr-group {
|
232 |
+
border-color: #3498db;
|
|
|
233 |
background-color: #ffffff !important;
|
|
|
234 |
}
|
235 |
+
.gradio-container .gr-input,
|
236 |
+
.gradio-container .gr-checkbox,
|
237 |
+
.gradio-container .gr-radio,
|
238 |
+
.gradio-container .gr-dropdown {
|
239 |
+
font-size: 1.4em; /* ๊ธ์ ํฌ๊ธฐ ์ฆ๊ฐ */
|
|
|
|
|
|
|
|
|
240 |
}
|
241 |
"""
|
242 |
|