shweaung commited on
Commit
cc61e2b
·
verified ·
1 Parent(s): 7341603

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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("# Pyramid Flow 384p demo")
101
- gr.Markdown("Pyramid Flow is a training-efficient **Autoregressive Video Generation** model based on **Flow Matching**. It is trained only on open-source datasets within 20.7k A100 GPU hours")
102
- gr.Markdown("[[Paper](https://arxiv.org/pdf/2410.05954)], [[Model](https://huggingface.co/rain1011/pyramid-flow-sd3)], [[Code](https://github.com/jy0205/Pyramid-Flow)] [[Project Page]](https://pyramid-flow.github.io)")
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("Advanced 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="Generated 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",
 
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",