Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def adjust_aspect_ratio(clip, option):
|
|
64 |
width, height = clip.size
|
65 |
current_ratio = width / height
|
66 |
|
67 |
-
# ์์์ด ๋๋ฌด ๋๋ค๋ฉด ๊ฐ๋ก๋ฅผ, ๋๋ฌด ๋๋ค๋ฉด ์ธ๋ก๋ฅผ
|
68 |
if current_ratio > target_ratio:
|
69 |
new_width = int(height * target_ratio)
|
70 |
new_height = height
|
@@ -130,48 +130,33 @@ def process_video(video,
|
|
130 |
add_log(f"[LOG 7-1] ์ถ๋ ฅ ํด์๋ ์ถ์: {resolution_scale*100:.0f}%")
|
131 |
clip = clip.resize(resolution_scale)
|
132 |
|
133 |
-
# ์ฌ์์๋
|
134 |
if abs(speed_factor - 1.0) > 1e-3:
|
135 |
add_log(f"[LOG 8] ์ฌ์์๋ {speed_factor}๋ฐฐ๋ก ์กฐ์ ์ค...")
|
136 |
clip = clip.fx(mp.vfx.speedx, speed_factor)
|
137 |
|
138 |
-
# FPS
|
139 |
original_fps = clip.fps
|
140 |
target_fps = original_fps * frame_rate_factor
|
141 |
add_log(f"[LOG 9] ์ต์ข
์ถ๋ ฅ FPS: {target_fps:.2f} (์๋ณธ FPS: {original_fps})")
|
142 |
clip = clip.set_fps(target_fps)
|
143 |
|
144 |
-
# ๋ฐ๋ณต
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
add_log("[LOG 11] GIF ์์ฑ ์ค...")
|
149 |
output_filename = f"temp_{uuid.uuid4().hex}.gif"
|
150 |
try:
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
frames = []
|
156 |
-
for t in range(int(clip.duration * target_fps)):
|
157 |
-
frame_time = t / target_fps
|
158 |
-
frame = clip.get_frame(frame_time)
|
159 |
-
frames.append(frame)
|
160 |
-
|
161 |
-
# imageio๋ฅผ ์ฌ์ฉํ์ฌ GIF ์ ์ฅ (loop ํ๋ผ๋ฏธํฐ ์ ์ฉ)
|
162 |
-
imageio.mimsave(
|
163 |
-
output_filename,
|
164 |
-
frames,
|
165 |
-
fps=target_fps,
|
166 |
-
loop=loop_param # ์ฌ๊ธฐ์ ๋ฐ๋ณต ํ์ ์ค์
|
167 |
-
)
|
168 |
-
|
169 |
-
add_log("[LOG 12] GIF ์์ฑ ์๋ฃ! ํ์ผ๋ช
: " + output_filename)
|
170 |
except Exception as e:
|
171 |
add_log(f"[ERROR] GIF ์์ฑ ์คํจ: {e}")
|
172 |
return None, None, "\n".join(global_logs)
|
173 |
|
174 |
-
#
|
175 |
return output_filename, output_filename, "\n".join(global_logs)
|
176 |
|
177 |
def update_thumbnails(video, start_time_str, end_time_str):
|
@@ -207,78 +192,230 @@ def update_thumbnails(video, start_time_str, end_time_str):
|
|
207 |
# Gradio ์ธํฐํ์ด์ค ๊ตฌ์ฑ (Blocks)
|
208 |
# ------------------------------
|
209 |
with gr.Blocks() as demo:
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
)
|
283 |
|
284 |
if __name__ == "__main__":
|
|
|
64 |
width, height = clip.size
|
65 |
current_ratio = width / height
|
66 |
|
67 |
+
# ์์์ด ๋๋ฌด ๋๋ค๋ฉด ๊ฐ๋ก๋ฅผ, ๋๋ฌด ๋๋ค๋ฉด ์ธ๋ก๋ฅผ ํฌ๋กญํฉ๋๋ค.
|
68 |
if current_ratio > target_ratio:
|
69 |
new_width = int(height * target_ratio)
|
70 |
new_height = height
|
|
|
130 |
add_log(f"[LOG 7-1] ์ถ๋ ฅ ํด์๋ ์ถ์: {resolution_scale*100:.0f}%")
|
131 |
clip = clip.resize(resolution_scale)
|
132 |
|
133 |
+
# ์ฌ์์๋ ์กฐ์
|
134 |
if abs(speed_factor - 1.0) > 1e-3:
|
135 |
add_log(f"[LOG 8] ์ฌ์์๋ {speed_factor}๋ฐฐ๋ก ์กฐ์ ์ค...")
|
136 |
clip = clip.fx(mp.vfx.speedx, speed_factor)
|
137 |
|
138 |
+
# FPS ์กฐ์
|
139 |
original_fps = clip.fps
|
140 |
target_fps = original_fps * frame_rate_factor
|
141 |
add_log(f"[LOG 9] ์ต์ข
์ถ๋ ฅ FPS: {target_fps:.2f} (์๋ณธ FPS: {original_fps})")
|
142 |
clip = clip.set_fps(target_fps)
|
143 |
|
144 |
+
# ๋ฐ๋ณต ํ์(0: ๋ฌดํ, 1~10: ์ง์ ํ์)
|
145 |
+
add_log(f"[LOG 10] GIF ๋ฐ๋ณต ํ์ ์ค์ : {repeat_count} (0์ด๋ฉด ๋ฌดํ๋ฐ๋ณต)")
|
146 |
+
final_clip = clip
|
147 |
+
|
148 |
add_log("[LOG 11] GIF ์์ฑ ์ค...")
|
149 |
output_filename = f"temp_{uuid.uuid4().hex}.gif"
|
150 |
try:
|
151 |
+
loop_param = 0 if int(repeat_count) == 0 else int(repeat_count)
|
152 |
+
# ImageMagick๋ก GIF ์์ฑ (loop ์ ์ฉ)
|
153 |
+
final_clip.write_gif(output_filename, fps=target_fps, loop=loop_param)
|
154 |
+
add_log(f"[LOG 12] GIF ์์ฑ ์๋ฃ! ํ์ผ๋ช
: {output_filename}, loop={loop_param}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
except Exception as e:
|
156 |
add_log(f"[ERROR] GIF ์์ฑ ์คํจ: {e}")
|
157 |
return None, None, "\n".join(global_logs)
|
158 |
|
159 |
+
# ๊ฒฐ๊ณผ ๋ฐํ (๋ฏธ๋ฆฌ๋ณด๊ธฐ์ฉ ๊ฒฝ๋ก, ๋ค์ด๋ก๋์ฉ ๊ฒฝ๋ก, ๋ก๊ทธ)
|
160 |
return output_filename, output_filename, "\n".join(global_logs)
|
161 |
|
162 |
def update_thumbnails(video, start_time_str, end_time_str):
|
|
|
192 |
# Gradio ์ธํฐํ์ด์ค ๊ตฌ์ฑ (Blocks)
|
193 |
# ------------------------------
|
194 |
with gr.Blocks() as demo:
|
195 |
+
#
|
196 |
+
# 1) CSS ์คํ์ผ: ์ต๋ํ Gradio ๋๋์ ์จ๊ธฐ๊ณ , ์ปค์คํ
๋์์ธ ์ ์ฉ
|
197 |
+
#
|
198 |
+
custom_css = """
|
199 |
+
<style>
|
200 |
+
/* ๊ธฐ๋ณธ์ ์ธ ๋ฆฌ์
*/
|
201 |
+
body, h1, h2, h3, h4, p, div, span {
|
202 |
+
margin: 0; padding: 0; box-sizing: border-box;
|
203 |
+
font-family: "Noto Sans", sans-serif;
|
204 |
+
}
|
205 |
+
|
206 |
+
/* ๋ฐฐ๊ฒฝ์, ๋ง์ง ๋ฑ ๊ธฐ๋ณธ ์ค์ */
|
207 |
+
body {
|
208 |
+
background: #fefefe;
|
209 |
+
color: #333;
|
210 |
+
padding: 20px;
|
211 |
+
}
|
212 |
+
|
213 |
+
/* ํฐ ํ์ดํ */
|
214 |
+
.main-title {
|
215 |
+
font-size: 2.0rem;
|
216 |
+
text-align: center;
|
217 |
+
margin: 0.5em 0;
|
218 |
+
color: #e67e22; /* ์ค๋ ์ง ํค */
|
219 |
+
font-weight: bold;
|
220 |
+
}
|
221 |
+
|
222 |
+
/* ์๋ด ๋ฌธ๊ตฌ (์ฌ์ฉ ๊ฐ์ด๋ ๋ฑ) */
|
223 |
+
.guide-text {
|
224 |
+
font-size: 1rem;
|
225 |
+
color: #555;
|
226 |
+
margin-bottom: 1.5em;
|
227 |
+
text-align: center;
|
228 |
+
line-height: 1.4em;
|
229 |
+
}
|
230 |
+
|
231 |
+
.emoji-title {
|
232 |
+
font-size: 1.3rem;
|
233 |
+
margin-bottom: 0.5em;
|
234 |
+
text-align: center;
|
235 |
+
color: #2ecc71; /* ๊ทธ๋ฆฐ ํค */
|
236 |
+
}
|
237 |
+
|
238 |
+
/* ์ปจํ
์ด๋๋ฅผ ์ข์ฐ๋ก ๋ฐฐ์น */
|
239 |
+
.row-container {
|
240 |
+
display: flex;
|
241 |
+
flex-direction: row;
|
242 |
+
justify-content: space-between;
|
243 |
+
margin-bottom: 1.5em;
|
244 |
+
gap: 1em;
|
245 |
+
}
|
246 |
+
|
247 |
+
/* 2๊ฐ์ ๋ฐ์ค๋ฅผ ๊ฐ๊ฐ ๋ฐ์ผ๋ก ๋๋์ด ๋ฐฐ์น */
|
248 |
+
.box {
|
249 |
+
width: 50%;
|
250 |
+
background-color: #ffffff;
|
251 |
+
border: 2px solid #ddd;
|
252 |
+
border-radius: 15px;
|
253 |
+
padding: 1em;
|
254 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
255 |
+
}
|
256 |
+
|
257 |
+
/* 1๊ฐ์ ๋ฐ์ค ์ ์ฒด ๋๋น */
|
258 |
+
.single-box {
|
259 |
+
width: 100%;
|
260 |
+
background-color: #ffffff;
|
261 |
+
border: 2px solid #ddd;
|
262 |
+
border-radius: 15px;
|
263 |
+
padding: 1em;
|
264 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
265 |
+
margin-bottom: 1.5em;
|
266 |
+
}
|
267 |
+
|
268 |
+
/* ์น์
๋ด๋ถ ํค๋ ์คํ์ผ */
|
269 |
+
.section-title {
|
270 |
+
font-size: 1.2rem;
|
271 |
+
margin-bottom: 0.5em;
|
272 |
+
font-weight: bold;
|
273 |
+
color: #3498db; /* ๋ธ๋ฃจ ํค */
|
274 |
+
}
|
275 |
+
|
276 |
+
/* ์ปดํฌ๋ํธ ๋ฐฐ์น ์ํ ๋ด๋ถ ๋ํผ */
|
277 |
+
.component-wrapper {
|
278 |
+
margin-bottom: 0.8em;
|
279 |
+
}
|
280 |
+
|
281 |
+
/* "GIF ์์ฑํ๊ธฐ" ๋ฒํผ ์คํ์ผ(์ฝ๊ฐ ํฌ๊ฒ) */
|
282 |
+
.big-button {
|
283 |
+
display: block;
|
284 |
+
width: 100%;
|
285 |
+
padding: 0.8em;
|
286 |
+
background-color: #e74c3c;
|
287 |
+
color: #fff;
|
288 |
+
border: none;
|
289 |
+
border-radius: 8px;
|
290 |
+
font-size: 1.1rem;
|
291 |
+
font-weight: bold;
|
292 |
+
cursor: pointer;
|
293 |
+
margin-top: 1em;
|
294 |
+
}
|
295 |
+
.big-button:hover {
|
296 |
+
background-color: #c0392b;
|
297 |
+
}
|
298 |
+
</style>
|
299 |
+
"""
|
300 |
+
|
301 |
+
gr.HTML(custom_css) # ์ปค์คํ
CSS๋ฅผ ์ฝ์
|
302 |
+
|
303 |
+
# 2) ์ ๋ชฉ ๋ฐ ๊ฐ๋จ ์ค๋ช
|
304 |
+
gr.HTML(
|
305 |
+
"""
|
306 |
+
<h1 class="main-title">๐ฌ ์์์ GIF๋ก ๋ณํํ๊ธฐ ๐ฟ</h1>
|
307 |
+
<div class="guide-text">
|
308 |
+
๐ ๊ฐ๋จ ์๋ด: ์์์ ์
๋ก๋ํ๊ณ , ์ํ๋ ํด์๋/๋น์จ, ํ๋ ์์๋, ๋ฐ๋ณต ํ์๋ฅผ ์ค์ ํ ๋ค GIF ์์ฑํ๊ธฐ๋ฅผ ๋๋ฌ๋ณด์ธ์!<br/>
|
309 |
+
</div>
|
310 |
+
"""
|
311 |
+
)
|
312 |
+
|
313 |
+
# 3) ์ฒซ ๋ฒ์งธ ์ค: ์
๋ ฅ๋ถ(์ข์ธก) + ์ถ๋ ฅ๋ถ(์ฐ์ธก)
|
314 |
+
gr.HTML("<div class='row-container'>")
|
315 |
+
gr.HTML("<div class='box'>") # ์ข์ธก ์
๋ ฅ๋ถ ๋ฐ์ค ์์
|
316 |
+
gr.HTML("<div class='emoji-title'>โ๏ธ ์
๋ ฅ๋ถ</div>")
|
317 |
+
# ์์ ์
๋ก๋
|
318 |
+
video_input = gr.Video(label="์์ ์
๋ก๋", elem_id="video_input", show_label=True)
|
319 |
+
platform_option = gr.Radio(
|
320 |
+
label="ํด์๋/๋น์จ ์ ํ",
|
321 |
+
choices=["์๋ณธ ์ ์ง", "์ ํ๋ธ (16:9)", "์ผ์ธ /๋ฆด์ค (9:16)", "์ ์ฌ๊ฐํ (1:1)", "์ธ์คํ๊ทธ๋จ (4:5)", "ํด๋์ (4:3)"],
|
322 |
+
value="์๋ณธ ์ ์ง",
|
323 |
+
elem_id="platform_option"
|
324 |
+
)
|
325 |
+
resolution_scale_slider = gr.Slider(
|
326 |
+
label="์ถ๋ ฅ ํด์๋ ์ถ์ ๋น์จ (0.1 ~ 1.0)",
|
327 |
+
minimum=0.1, maximum=1.0, step=0.1, value=1.0,
|
328 |
+
elem_id="resolution_scale"
|
329 |
+
)
|
330 |
+
frame_rate_slider = gr.Slider(
|
331 |
+
label="ํ๋ ์ ๋ ์ดํธ ๋ฐฐ์จ ์กฐ์ (0.1 ~ 1.0)",
|
332 |
+
minimum=0.1, maximum=1.0, step=0.1, value=1.0,
|
333 |
+
elem_id="frame_rate"
|
334 |
+
)
|
335 |
+
speed_slider = gr.Slider(
|
336 |
+
label="์ฌ์ ์๋ ์กฐ์ (0.5 ~ 5.0)",
|
337 |
+
minimum=0.5, maximum=5.0, step=0.1, value=1.0,
|
338 |
+
elem_id="speed_factor"
|
339 |
+
)
|
340 |
+
repeat_slider = gr.Slider(
|
341 |
+
label="GIF ๋ฐ๋ณต ํ์ (0: ๋ฌดํ๋ฐ๋ณต, 1~10: ๋ฐ๋ณต ํ์)",
|
342 |
+
minimum=0, maximum=10, step=1, value=0,
|
343 |
+
elem_id="repeat_count"
|
344 |
+
)
|
345 |
+
gr.HTML("</div>") # ์ข์ธก ์
๋ ฅ๋ถ ๋ฐ์ค ๋
|
346 |
+
|
347 |
+
gr.HTML("<div class='box'>") # ์ฐ์ธก ์ถ๋ ฅ๋ถ ๋ฐ์ค ์์
|
348 |
+
gr.HTML("<div class='emoji-title'>๐ ์ถ๋ ฅ๋ถ</div>")
|
349 |
+
gif_preview_output = gr.Image(label="GIF ๊ฒฐ๊ณผ ๋ฏธ๋ฆฌ๋ณด๊ธฐ", elem_id="gif_preview")
|
350 |
+
download_output = gr.File(label="GIF ๋ค์ด๋ก๋", elem_id="gif_download")
|
351 |
+
gr.HTML("</div>") # ์ฐ์ธก ์ถ๋ ฅ๋ถ ๋ฐ์ค ๋
|
352 |
+
gr.HTML("</div>") # ์ฒซ ๋ฒ์งธ ์ค(row-container) ์ข
๋ฃ
|
353 |
+
|
354 |
+
# 4) ๋ ๋ฒ์งธ ์ค: ์ธ๋ค์ผ ๋ฏธ๋ฆฌ๋ณด๊ธฐ
|
355 |
+
gr.HTML("<div class='single-box'>")
|
356 |
+
gr.HTML("<div class='emoji-title'>๐ ์์
์ธ๋ค์ผ ๋ฏธ๋ฆฌ๋ณด๊ธฐ</div>")
|
357 |
+
start_thumb_output = gr.Image(label="์์ ์ธ๋ค์ผ", elem_id="start_thumb")
|
358 |
+
end_thumb_output = gr.Image(label="์ข
๋ฃ ์ธ๋ค์ผ", elem_id="end_thumb")
|
359 |
+
# GIF ์์ฑ ๋ฒํผ
|
360 |
+
generate_button = gr.Button("๐ก GIF ์์ฑํ๊ธฐ", elem_id="generate_btn", css="", variant="primary").style(full_width=False)
|
361 |
+
logs_output = gr.Textbox(label="์์
๋ก๊ทธ", lines=6)
|
362 |
+
gr.HTML("</div>")
|
363 |
+
|
364 |
+
# 5) ์ด๋ฒคํธ & ๋ก์ง ์ฐ๊ฒฐ
|
365 |
+
start_time = gr.Textbox(label="์์ ์๊ฐ (์: 00:00:05)", value="00:00:00")
|
366 |
+
end_time = gr.Textbox(label="์ข
๋ฃ ์๊ฐ (์: 00:00:10)", value="00:00:05")
|
367 |
+
|
368 |
+
# ํ๋ฉด์์๋ ํ์๋์ง ์์ง๋ง, ๋ก์ง ์ฒ๋ฆฌ๋ฅผ ์ํด ์์น๋ง ์ก์๋ (elem_id ์์ด)
|
369 |
+
# -> ํ์ํ๋ค๋ฉด style="display:none;"๋ก ์จ๊ฒจ๋ ๋จ.
|
370 |
+
start_time.change(
|
371 |
+
fn=update_thumbnails,
|
372 |
+
inputs=[video_input, start_time, end_time],
|
373 |
+
outputs=[start_thumb_output, end_thumb_output]
|
374 |
+
)
|
375 |
+
end_time.change(
|
376 |
+
fn=update_thumbnails,
|
377 |
+
inputs=[video_input, start_time, end_time],
|
378 |
+
outputs=[start_thumb_output, end_thumb_output]
|
379 |
+
)
|
380 |
+
video_input.change(
|
381 |
+
fn=update_thumbnails,
|
382 |
+
inputs=[video_input, start_time, end_time],
|
383 |
+
outputs=[start_thumb_output, end_thumb_output]
|
384 |
+
)
|
385 |
+
|
386 |
+
generate_button.click(
|
387 |
+
fn=process_video,
|
388 |
+
inputs=[
|
389 |
+
video_input, # ๋์์ ์
๋ก๋
|
390 |
+
start_time, # ์์ ์๊ฐ
|
391 |
+
end_time, # ์ข
๋ฃ ์๊ฐ
|
392 |
+
platform_option, # ํ๋ซํผ๋ณ ๋น์จ
|
393 |
+
frame_rate_slider, # ํ๋ ์ ๋ ์ดํธ ๋ฐฐ์จ
|
394 |
+
speed_slider, # ์ฌ์ ์๋
|
395 |
+
repeat_slider, # ๋ฐ๋ณต ํ์
|
396 |
+
resolution_scale_slider # ํด์๋ ์ถ์ ๋น์จ
|
397 |
+
],
|
398 |
+
outputs=[
|
399 |
+
gif_preview_output, # ์์ฑ๋ GIF ๋ฏธ๋ฆฌ๋ณด๊ธฐ
|
400 |
+
download_output, # GIF ๋ค์ด๋ก๋ ๋งํฌ
|
401 |
+
logs_output # ๋ก๊ทธ ์ถ๋ ฅ
|
402 |
+
]
|
403 |
+
)
|
404 |
+
|
405 |
+
# 6) ์ฌ์ฉ์ ๊ฐ์ด๋(ํ๋จ)
|
406 |
+
gr.HTML(
|
407 |
+
"""
|
408 |
+
<div class="single-box" style="text-align:center;">
|
409 |
+
<h2 class="section-title">๐ข ๊ฐ๋จ ์ฌ์ฉ ๊ฐ์ด๋</h2>
|
410 |
+
<p style="font-size:1rem; margin-bottom:0.5em;">
|
411 |
+
1) <strong>์์์ ์
๏ฟฝ๏ฟฝ๏ฟฝ๋</strong>ํฉ๋๋ค.<br/>
|
412 |
+
2) <strong>์์/๋ ์๊ฐ</strong>๊ณผ <strong>ํด์๋/๋น์จ</strong>์ ์ค์ ํฉ๋๋ค.<br/>
|
413 |
+
3) <strong>์ถ๋ ฅ ํด์๋ ์ถ์, ํ๋ ์ ๋ ์ดํธ, ์ฌ์ ์๋, ๋ฐ๋ณต ํ์</strong>๋ฅผ ์กฐ์ ํฉ๋๋ค.<br/>
|
414 |
+
4) <strong>GIF ์์ฑํ๊ธฐ</strong> ๋ฒํผ์ ๋๋ฌ ๋ณํ์ ์งํํ์ธ์.<br/>
|
415 |
+
5) ๊ฒฐ๊ณผ ๋ฏธ๋ฆฌ๋ณด๊ธฐ์ ๋ค์ด๋ก๋๋ฅผ ํตํด GIF๋ฅผ ํ์ธํ์ธ์!<br/>
|
416 |
+
</p>
|
417 |
+
</div>
|
418 |
+
"""
|
419 |
)
|
420 |
|
421 |
if __name__ == "__main__":
|