multimodalart HF Staff commited on
Commit
16a1e1b
·
verified ·
1 Parent(s): 7ed7e73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,7 +48,7 @@ def infer(prompt, seed=1, randomize_seed=False, num_inference_steps=28, progress
48
  prompt=prompt_template,
49
  num_inference_steps=num_inference_steps,
50
  num_images_per_prompt=1,
51
- generator=torch.Generator("cpu").manual_seed(seed),
52
  height=320,
53
  width=1280
54
  ).images[0]
@@ -77,7 +77,7 @@ with gr.Blocks(css=css) as demo:
77
  with gr.Column(elem_id="col-container"):
78
  gr.Markdown(f"""
79
  # FLUX Animations
80
- Generate gifs with FLUX [dev] + HyperSD 16 steps. Concept idea by [fofr](https://x.com/fofrAI). Diffusers implementation by [Dhruv](_DhruvNair_)
81
  """)
82
 
83
  with gr.Row():
 
48
  prompt=prompt_template,
49
  num_inference_steps=num_inference_steps,
50
  num_images_per_prompt=1,
51
+ generator=generator,
52
  height=320,
53
  width=1280
54
  ).images[0]
 
77
  with gr.Column(elem_id="col-container"):
78
  gr.Markdown(f"""
79
  # FLUX Animations
80
+ Generate gifs with FLUX [dev]. Concept idea by [fofr](https://x.com/fofrAI). Diffusers implementation by [Dhruv](_DhruvNair_)
81
  """)
82
 
83
  with gr.Row():