Rename app (1) (6).py to app.py
Browse files- app (1) (6).py → app.py +2 -2
app (1) (6).py → app.py
RENAMED
|
@@ -203,13 +203,13 @@ with gr.Blocks(theme=cinematic_theme, css="style.css") as demo:
|
|
| 203 |
subtitle_md = gr.Markdown(f"<p>{default_lang.get('app_subtitle')}</p>")
|
| 204 |
with gr.Row():
|
| 205 |
lang_selector = gr.Radio(["🇧🇷", "🇺🇸", "🇨🇳"], value="🇧🇷", label=default_lang.get('lang_selector_label'))
|
| 206 |
-
resolution_selector = gr.Radio(["480x480", "720x720"
|
| 207 |
|
| 208 |
with gr.Accordion(default_lang.get('step1_accordion'), open=True) as step1_accordion:
|
| 209 |
prompt_input = gr.Textbox(label=default_lang.get('prompt_label'), value="A majestic lion walks across the savanna, sits down, and then roars at the setting sun.")
|
| 210 |
ref_image_input = gr.File(label=default_lang.get('ref_images_label'), file_count="multiple", file_types=["image"])
|
| 211 |
with gr.Row():
|
| 212 |
-
num_keyframes_slider = gr.Slider(minimum=
|
| 213 |
duration_per_fragment_slider = gr.Slider(label=default_lang.get('duration_label'), info=default_lang.get('duration_info'), minimum=2.0, maximum=10.0, value=4.0, step=0.1)
|
| 214 |
with gr.Row():
|
| 215 |
storyboard_and_keyframes_button = gr.Button(default_lang.get('storyboard_and_keyframes_button'), variant="primary")
|
|
|
|
| 203 |
subtitle_md = gr.Markdown(f"<p>{default_lang.get('app_subtitle')}</p>")
|
| 204 |
with gr.Row():
|
| 205 |
lang_selector = gr.Radio(["🇧🇷", "🇺🇸", "🇨🇳"], value="🇧🇷", label=default_lang.get('lang_selector_label'))
|
| 206 |
+
resolution_selector = gr.Radio(["480x480", "720x720"], value="480x480", label="Base Resolution")
|
| 207 |
|
| 208 |
with gr.Accordion(default_lang.get('step1_accordion'), open=True) as step1_accordion:
|
| 209 |
prompt_input = gr.Textbox(label=default_lang.get('prompt_label'), value="A majestic lion walks across the savanna, sits down, and then roars at the setting sun.")
|
| 210 |
ref_image_input = gr.File(label=default_lang.get('ref_images_label'), file_count="multiple", file_types=["image"])
|
| 211 |
with gr.Row():
|
| 212 |
+
num_keyframes_slider = gr.Slider(minimum=5, maximum=15, value=5, step=1, label=default_lang.get('keyframes_label'))
|
| 213 |
duration_per_fragment_slider = gr.Slider(label=default_lang.get('duration_label'), info=default_lang.get('duration_info'), minimum=2.0, maximum=10.0, value=4.0, step=0.1)
|
| 214 |
with gr.Row():
|
| 215 |
storyboard_and_keyframes_button = gr.Button(default_lang.get('storyboard_and_keyframes_button'), variant="primary")
|