MonsterMMORPG commited on
Commit
8d2b729
1 Parent(s): 4ee6084

Upload kohya_gui_kaggle.py

Browse files
Files changed (1) hide show
  1. kohya_gui_kaggle.py +6 -2
kohya_gui_kaggle.py CHANGED
@@ -10,7 +10,7 @@ from library.class_lora_tab import LoRATools
10
 
11
  import os
12
  from library.custom_logging import setup_logging
13
- from localization_ext import add_javascript
14
 
15
  # Set up logging
16
  log = setup_logging()
@@ -133,6 +133,10 @@ if __name__ == '__main__':
133
  '--language', type=str, default=None, help='Set custom language'
134
  )
135
 
 
 
 
 
136
  args = parser.parse_args()
137
 
138
  UI(
@@ -144,4 +148,4 @@ if __name__ == '__main__':
144
  listen=args.listen,
145
  headless=args.headless,
146
  language=args.language,
147
- )
 
10
 
11
  import os
12
  from library.custom_logging import setup_logging
13
+ from library.localization_ext import add_javascript
14
 
15
  # Set up logging
16
  log = setup_logging()
 
133
  '--language', type=str, default=None, help='Set custom language'
134
  )
135
 
136
+ parser.add_argument(
137
+ '--use-ipex', action='store_true', help='Use IPEX environment'
138
+ )
139
+
140
  args = parser.parse_args()
141
 
142
  UI(
 
148
  listen=args.listen,
149
  headless=args.headless,
150
  language=args.language,
151
+ )