fantaxy commited on
Commit
47f3fb4
ยท
verified ยท
1 Parent(s): 9ad6afb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -33
app.py CHANGED
@@ -306,34 +306,6 @@ def create_advanced_options():
306
 
307
  with gr.Blocks(theme=gr.themes.Soft()) as iface:
308
 
309
-
310
- with gr.Accordion(" ๐Ÿ“– Tips for Best Results", open=False, elem_id="instructions-accordion"):
311
- gr.Markdown(
312
- """
313
- ๐Ÿ“ Prompt Engineering
314
-
315
- When writing prompts, focus on detailed, chronological descriptions of actions and scenes. Include specific movements, appearances, camera angles, and environmental details - all in a single flowing paragraph. Start directly with the action, and keep descriptions literal and precise. Think like a cinematographer describing a shot list. Keep within 200 words.
316
- For best results, build your prompts using this structure:
317
-
318
- - Start with main action in a single sentence
319
- - Add specific details about movements and gestures
320
- - Describe character/object appearances precisely
321
- - Include background and environment details
322
- - Specify camera angles and movements
323
- - Describe lighting and colors
324
- - Note any changes or sudden events
325
-
326
- See examples for more inspiration.
327
-
328
- ๐ŸŽฎ Parameter Guide
329
-
330
- - Resolution Preset: Higher resolutions for detailed scenes, lower for faster generation and simpler scenes
331
- - Seed: Save seed values to recreate specific styles or compositions you like
332
- - Guidance Scale: 3-3.5 are the recommended values
333
- - Inference Steps: More steps (40+) for quality, fewer steps (20-30) for speed
334
- """
335
- )
336
-
337
  with gr.Column():
338
  txt2vid_prompt = gr.Textbox(
339
  label="Step 1: Enter Your Prompt (ํ•œ๊ธ€ ๋˜๋Š” ์˜์–ด)",
@@ -341,11 +313,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
341
  value="๊ธด ๊ฐˆ์ƒ‰ ๋จธ๋ฆฌ์™€ ๋ฐ์€ ํ”ผ๋ถ€๋ฅผ ๊ฐ€์ง„ ์—ฌ์„ฑ์ด ๊ธด ๊ธˆ๋ฐœ ๋จธ๋ฆฌ๋ฅผ ๊ฐ€์ง„ ๋‹ค๋ฅธ ์—ฌ์„ฑ์„ ํ–ฅํ•ด ๋ฏธ์†Œ ์ง“์Šต๋‹ˆ๋‹ค. ๊ฐˆ์ƒ‰ ๋จธ๋ฆฌ ์—ฌ์„ฑ์€ ๊ฒ€์€ ์žฌํ‚ท์„ ์ž…๊ณ  ์žˆ์œผ๋ฉฐ ์˜ค๋ฅธ์ชฝ ๋บจ์— ์ž‘๊ณ  ๊ฑฐ์˜ ๋ˆˆ์— ๋„์ง€ ์•Š๋Š” ์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ์นด๋ฉ”๋ผ ์•ต๊ธ€์€ ๊ฐˆ์ƒ‰ ๋จธ๋ฆฌ ์—ฌ์„ฑ์˜ ์–ผ๊ตด์— ์ดˆ์ ์„ ๋งž์ถ˜ ํด๋กœ์ฆˆ์—…์ž…๋‹ˆ๋‹ค. ์กฐ๋ช…์€ ๋”ฐ๋œปํ•˜๊ณ  ์ž์—ฐ์Šค๋Ÿฌ์šฐ๋ฉฐ, ์•„๋งˆ๋„ ์ง€๋Š” ํ•ด์—์„œ ๋‚˜์˜ค๋Š” ๊ฒƒ ๊ฐ™์•„ ์žฅ๋ฉด์— ๋ถ€๋“œ๋Ÿฌ์šด ๋น›์„ ๋น„์ถฅ๋‹ˆ๋‹ค.",
342
  lines=5,
343
  )
344
- txt2vid_analytics_toggle = Toggle(
345
- label="I agree to share my usage data anonymously to help improve the model features.",
346
- value=True,
347
- interactive=True,
348
- )
349
 
350
  txt2vid_enhance_toggle = Toggle(
351
  label="Enhance Prompt",
 
306
 
307
  with gr.Blocks(theme=gr.themes.Soft()) as iface:
308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  with gr.Column():
310
  txt2vid_prompt = gr.Textbox(
311
  label="Step 1: Enter Your Prompt (ํ•œ๊ธ€ ๋˜๋Š” ์˜์–ด)",
 
313
  value="๊ธด ๊ฐˆ์ƒ‰ ๋จธ๋ฆฌ์™€ ๋ฐ์€ ํ”ผ๋ถ€๋ฅผ ๊ฐ€์ง„ ์—ฌ์„ฑ์ด ๊ธด ๊ธˆ๋ฐœ ๋จธ๋ฆฌ๋ฅผ ๊ฐ€์ง„ ๋‹ค๋ฅธ ์—ฌ์„ฑ์„ ํ–ฅํ•ด ๋ฏธ์†Œ ์ง“์Šต๋‹ˆ๋‹ค. ๊ฐˆ์ƒ‰ ๋จธ๋ฆฌ ์—ฌ์„ฑ์€ ๊ฒ€์€ ์žฌํ‚ท์„ ์ž…๊ณ  ์žˆ์œผ๋ฉฐ ์˜ค๋ฅธ์ชฝ ๋บจ์— ์ž‘๊ณ  ๊ฑฐ์˜ ๋ˆˆ์— ๋„์ง€ ์•Š๋Š” ์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ์นด๋ฉ”๋ผ ์•ต๊ธ€์€ ๊ฐˆ์ƒ‰ ๋จธ๋ฆฌ ์—ฌ์„ฑ์˜ ์–ผ๊ตด์— ์ดˆ์ ์„ ๋งž์ถ˜ ํด๋กœ์ฆˆ์—…์ž…๋‹ˆ๋‹ค. ์กฐ๋ช…์€ ๋”ฐ๋œปํ•˜๊ณ  ์ž์—ฐ์Šค๋Ÿฌ์šฐ๋ฉฐ, ์•„๋งˆ๋„ ์ง€๋Š” ํ•ด์—์„œ ๋‚˜์˜ค๋Š” ๊ฒƒ ๊ฐ™์•„ ์žฅ๋ฉด์— ๋ถ€๋“œ๋Ÿฌ์šด ๋น›์„ ๋น„์ถฅ๋‹ˆ๋‹ค.",
314
  lines=5,
315
  )
316
+
 
 
 
 
317
 
318
  txt2vid_enhance_toggle = Toggle(
319
  label="Enhance Prompt",