DevWild commited on
Commit
504df3f
·
verified ·
1 Parent(s): 24f6a92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -318,7 +318,7 @@ def start_training(
318
  toolkit_src = os.path.join(dataset_folder, "ai-toolkit")
319
  if not os.path.exists(toolkit_src):
320
  subprocess.run(
321
- f"git clone https://github.com/ostris/ai-toolkit.git {toolkit_src}", # ai-toolkit && cd ai-toolkit && git submodule update --init --recursive
322
  shell=True,
323
  check=True
324
  )
 
318
  toolkit_src = os.path.join(dataset_folder, "ai-toolkit")
319
  if not os.path.exists(toolkit_src):
320
  subprocess.run(
321
+ f"git clone --depth 1 --filter=blob:none --sparse https://github.com/ostris/ai-toolkit.git {toolkit_src}", # ai-toolkit && cd ai-toolkit && git submodule update --init --recursive
322
  shell=True,
323
  check=True
324
  )