multimodalart HF Staff commited on
Commit
616306a
·
verified ·
1 Parent(s): 0e05b81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,7 +38,7 @@ MAX_SEED = np.iinfo(np.int32).max
38
 
39
  @spaces.GPU
40
  def infer(prompt, seed=42, randomize_seed=False, num_inference_steps=4, progress=gr.Progress(track_tqdm=True)):
41
- prompt_template = f"A side by side 4 frame image showing consecutive stills from a looped gif moving from left to right. The gif contains temporally coherent stills of {prompt}"
42
  if randomize_seed:
43
  seed = random.randint(0, MAX_SEED)
44
 
@@ -57,7 +57,7 @@ def infer(prompt, seed=42, randomize_seed=False, num_inference_steps=4, progress
57
  return gif_name, gr.Image(value=image, visible=True), seed
58
 
59
  examples = [
60
- "a cute cat raising their paws in the air and waving hello. There is a sign over the cat's head that says \"Flux does Video?\"",
61
  "Will Smith eating pizza",
62
  "A flying saucer over the white house",
63
  ]
 
38
 
39
  @spaces.GPU
40
  def infer(prompt, seed=42, randomize_seed=False, num_inference_steps=4, progress=gr.Progress(track_tqdm=True)):
41
+ prompt_template = f"A side by side 4 frame image showing consecutive stills from a looped gif moving from left to right. The stills are of {prompt}"
42
  if randomize_seed:
43
  seed = random.randint(0, MAX_SEED)
44
 
 
57
  return gif_name, gr.Image(value=image, visible=True), seed
58
 
59
  examples = [
60
+ "a cute cat raising holding a sign that reads \"Flux does Video?\"",
61
  "Will Smith eating pizza",
62
  "A flying saucer over the white house",
63
  ]