Skip to content

Commit

Permalink
Fix missing default settings (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingyu-Wei authored Mar 28, 2024
1 parent 09664f8 commit 2a0c81f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/shared.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import argparse
import copy
import os
import sys
from collections import OrderedDict
Expand Down Expand Up @@ -65,6 +66,7 @@
'default_extensions': ['gallery'],
}

default_settings = copy.deepcopy(settings)

# Parser copied from https://github.com/vladmandic/automatic
parser = argparse.ArgumentParser(description="Text generation web UI", conflict_handler='resolve', add_help=True, formatter_class=lambda prog: argparse.HelpFormatter(prog, max_help_position=55, indent_increment=2, width=200))
Expand Down

0 comments on commit 2a0c81f

Please sign in to comment.