RanM commited on
Commit
e80f06a
·
verified ·
1 Parent(s): b85438c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ model.scheduler.config.prediction_type = "epsilon" # Adjust prediction_type
13
 
14
  async def generate_image(prompt):
15
  try:
16
- num_inference_steps = 25 # Or your desired value
17
  output = await asyncio.to_thread(
18
  model,
19
  prompt=prompt,
 
13
 
14
  async def generate_image(prompt):
15
  try:
16
+ num_inference_steps = 5 # Or your desired value
17
  output = await asyncio.to_thread(
18
  model,
19
  prompt=prompt,