gtani commited on
Commit
11fbe8b
·
verified ·
1 Parent(s): 18b5cac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -61,7 +61,7 @@ FIXED_OUTPUT_FPS = 18 # we downspeed the output video as a temporary "trick"
61
  MIN_FRAMES_MODEL = 8
62
  MAX_FRAMES_MODEL = 81
63
 
64
- default_prompt_t2v = "cinematic footage, group of pedestrians dancing in the streets of NYC, high quality breakdance, 4K, tiktok video, intricate details, instagram feel, dynamic camera, smooth dance motion, dimly lit, stylish, beautiful faces, smiling, music video"
65
  default_negative_prompt = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards, watermark, text, signature"
66
 
67
  def get_duration(prompt, height, width,
@@ -152,12 +152,12 @@ def generate_video(prompt, height, width,
152
  return video_path, current_seed
153
 
154
  with gr.Blocks() as demo:
155
- gr.Markdown("# ⚡ InstaVideo")
156
- gr.Markdown("This Gradio space is a fork of [wan2-1-fast from multimodalart](https://huggingface.co/spaces/multimodalart/wan2-1-fast), and is powered by the Wan CausVid LoRA [from Kijai](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors).")
157
 
158
  # Add notice for limited spaces
159
  if IS_ORIGINAL_SPACE:
160
- gr.Markdown("⚠️ **This free public demo limits the resolution to 640px, duration to 2s, and inference steps to 4. For full capabilities please duplicate this space.**")
161
 
162
  with gr.Row():
163
  with gr.Column():
@@ -206,9 +206,8 @@ with gr.Blocks() as demo:
206
 
207
  # Adjust examples based on space limits
208
  example_configs = [
209
- ["a majestic eagle soaring through mountain peaks, cinematic aerial view", 896, 512],
210
- ["a serene ocean wave crashing on a sandy beach at sunset", 448, 832],
211
- ["a field of flowers swaying in the wind, spring morning light", 512, 896],
212
  ]
213
 
214
  if IS_ORIGINAL_SPACE:
 
61
  MIN_FRAMES_MODEL = 8
62
  MAX_FRAMES_MODEL = 81
63
 
64
+ default_prompt_t2v = "A wide aerial view of a bustling open-air street market in a densely built urban neighborhood, narrow lanes packed with colorful umbrellas and stalls, crowds of people walking, talking, and shopping, vibrant fabrics and goods displayed on tables, vendors gesturing to customers, children weaving through the crowd, occasional bicycles passing, the scene alive with constant movement and chatter, distant city skyline visible under a hazy sky, smooth cinematic camera pan across the lively street"
65
  default_negative_prompt = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards, watermark, text, signature"
66
 
67
  def get_duration(prompt, height, width,
 
152
  return video_path, current_seed
153
 
154
  with gr.Blocks() as demo:
155
+ gr.Markdown("# ⚡ DEval VideoGen")
156
+ gr.Markdown("This Gradio space is a fork of [wan2-1-fast from jbilcke-hf](https://huggingface.co/spaces/jbilcke-hf/InstaVideo), and is powered by the Wan CausVid LoRA")
157
 
158
  # Add notice for limited spaces
159
  if IS_ORIGINAL_SPACE:
160
+ gr.Markdown("⚠️ **Limit the resolution to 640px, duration to 2s, and inference steps to 4. For full capabilities please duplicate this space.**")
161
 
162
  with gr.Row():
163
  with gr.Column():
 
206
 
207
  # Adjust examples based on space limits
208
  example_configs = [
209
+ ["a majestic condor soaring through mountain peaks, cinematic aerial view", 896, 512],
210
+ ["A wide aerial view of a bustling open-air street market in a densely built urban neighborhood, narrow lanes packed with colorful umbrellas and stalls, crowds of people walking, talking, and shopping, vibrant fabrics and goods displayed on tables, vendors gesturing to customers, children weaving through the crowd, occasional bicycles passing, the scene alive with constant movement and chatter, distant city skyline visible under a hazy sky, smooth cinematic camera pan across the lively street", 448, 832],
 
211
  ]
212
 
213
  if IS_ORIGINAL_SPACE: