Skip to content

Commit

Permalink
Fix preset realistic load model error
Browse files Browse the repository at this point in the history
  • Loading branch information
konieshadow committed Oct 30, 2023
1 parent ee2baf4 commit 6816923
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ def prepare_environments(args) -> bool:
parameters.default_lora_weight = preset_json['default_lora_weight']
parameters.default_cfg_scale = preset_json['default_cfg_scale']
parameters.default_prompt_negative = preset_json['default_prompt_negative']
if parameters.default_refiner_model_name == '':
parameters.default_refiner_model_name = 'None'

import fooocusapi.worker as worker
worker.task_queue.queue_size = args.queue_size
Expand Down

0 comments on commit 6816923

Please sign in to comment.