osanseviero commited on
Commit
37509a8
·
1 Parent(s): b6aa882

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ async def deepfloydif(ctx, *, prompt: str):
64
  current_time = int(time.time())
65
  random.seed(current_time)
66
  seed = random.randint(0, 2**32 - 1)
67
- stage_1_results, stage_1_param_path, stage_1_result_path = await df.predict(prompt, "blur", seed, number_of_images, 7.0, 'smart100', 50, api_name="/generate64")
68
  png_files = [f for f in os.listdir(stage_1_results) if f.endswith('.png')]
69
 
70
  if png_files:
 
64
  current_time = int(time.time())
65
  random.seed(current_time)
66
  seed = random.randint(0, 2**32 - 1)
67
+ stage_1_results, stage_1_param_path, stage_1_result_path = df.predict(prompt, "blur", seed, number_of_images, 7.0, 'smart100', 50, api_name="/generate64")
68
  png_files = [f for f in os.listdir(stage_1_results) if f.endswith('.png')]
69
 
70
  if png_files: