shweaung
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -97,22 +97,22 @@ def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guida
|
|
97 |
|
98 |
# Gradio interface
|
99 |
with gr.Blocks() as demo:
|
100 |
-
gr.Markdown("
|
101 |
-
gr.Markdown("
|
102 |
-
|
103 |
|
104 |
with gr.Row():
|
105 |
with gr.Column():
|
106 |
with gr.Accordion("Image to Video (optional)", open=False):
|
107 |
i2v_image = gr.Image(type="pil", label="Input Image")
|
108 |
t2v_prompt = gr.Textbox(label="Prompt")
|
109 |
-
with gr.Accordion("
|
110 |
t2v_duration = gr.Slider(minimum=1, maximum=10, value=5, step=1, label="Duration (seconds)")
|
111 |
t2v_guidance_scale = gr.Slider(minimum=1, maximum=15, value=7, step=0.1, label="Guidance Scale")
|
112 |
t2v_video_guidance_scale = gr.Slider(minimum=1, maximum=15, value=5, step=0.1, label="Video Guidance Scale")
|
113 |
t2v_generate_btn = gr.Button("Generate Video")
|
114 |
with gr.Column():
|
115 |
-
t2v_output = gr.Video(label="
|
116 |
gr.Examples(
|
117 |
examples=[
|
118 |
"A futuristic explorer, 30 years old, travels across distant galaxies in a sleek silver space suit, gliding through a glowing nebula. The scene is illuminated by vibrant starbursts and cosmic dust, captured with a futuristic drone in ultra-high-definition, showcasing vibrant purples and blues",
|
|
|
97 |
|
98 |
# Gradio interface
|
99 |
with gr.Blocks() as demo:
|
100 |
+
gr.Markdown("Walone AI ဗွီဒီယိုထုတ်စနစ်")
|
101 |
+
gr.Markdown("Prompt မှာ ထုတ်ချင်တဲ့ video ကို English လိုရေးပြီးထုတ်နိုင်ပါတယ်..Example prompt ကိုလေ့လာကြည့်ပါ")
|
102 |
+
|
103 |
|
104 |
with gr.Row():
|
105 |
with gr.Column():
|
106 |
with gr.Accordion("Image to Video (optional)", open=False):
|
107 |
i2v_image = gr.Image(type="pil", label="Input Image")
|
108 |
t2v_prompt = gr.Textbox(label="Prompt")
|
109 |
+
with gr.Accordion("အဆင့်မြင့် settings", open=False):
|
110 |
t2v_duration = gr.Slider(minimum=1, maximum=10, value=5, step=1, label="Duration (seconds)")
|
111 |
t2v_guidance_scale = gr.Slider(minimum=1, maximum=15, value=7, step=0.1, label="Guidance Scale")
|
112 |
t2v_video_guidance_scale = gr.Slider(minimum=1, maximum=15, value=5, step=0.1, label="Video Guidance Scale")
|
113 |
t2v_generate_btn = gr.Button("Generate Video")
|
114 |
with gr.Column():
|
115 |
+
t2v_output = gr.Video(label="Video ထုတ်မယ်")
|
116 |
gr.Examples(
|
117 |
examples=[
|
118 |
"A futuristic explorer, 30 years old, travels across distant galaxies in a sleek silver space suit, gliding through a glowing nebula. The scene is illuminated by vibrant starbursts and cosmic dust, captured with a futuristic drone in ultra-high-definition, showcasing vibrant purples and blues",
|