multimodalart HF Staff commited on
Commit
3979845
·
verified ·
1 Parent(s): ee90a9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ pipe_14b = Cosmos2TextToImagePipeline.from_pretrained(
13
 
14
  pipe_14b.to("cuda")
15
 
16
- @spaces.GPU(duration=120)
17
  def generate_image(
18
  prompt,
19
  negative_prompt="The video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality.",
 
13
 
14
  pipe_14b.to("cuda")
15
 
16
+ @spaces.GPU(duration=140)
17
  def generate_image(
18
  prompt,
19
  negative_prompt="The video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality.",