fix
Browse files
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 |
-
|
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}")
|