lunarflu HF Staff commited on
Commit
32c3761
·
1 Parent(s): 9ac9152
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,8 +66,8 @@ async def deepfloydif(ctx, *, prompt: str):
66
 
67
 
68
  try:
69
- stage_1_results, stage_1_param_path, stage_1_result_path =
70
- df.predict(prompt, negative_prompt, seed, number_of_images, guidance_scale, custom_timesteps_1, number_of_inference_steps, api_name='/generate64')
71
  png_files = [f for f in os.listdir(stage_1_results) if f.endswith('.png')]
72
  except Exception as e:
73
  print(f"Error: {e}")
 
66
 
67
 
68
  try:
69
+ stage_1_results, stage_1_param_path, stage_1_result_path = df.predict(
70
+ prompt, negative_prompt, seed, number_of_images, guidance_scale, custom_timesteps_1, number_of_inference_steps, api_name='/generate64')
71
  png_files = [f for f in os.listdir(stage_1_results) if f.endswith('.png')]
72
  except Exception as e:
73
  print(f"Error: {e}")