multimodalart HF staff commited on
Commit
91dbe72
1 Parent(s): 641b3df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def run_dev_turbo(prompt):
45
  def run_schnell(prompt):
46
  print("schnell")
47
  pipe_schnell.to("cuda")
48
- image = pipe_schnell(prompt).images[0]
49
  return image
50
 
51
  def run_parallel_models(prompt):
 
45
  def run_schnell(prompt):
46
  print("schnell")
47
  pipe_schnell.to("cuda")
48
+ image = pipe_schnell(prompt, num_inference_steps=4).images[0]
49
  return image
50
 
51
  def run_parallel_models(prompt):