Spaces:
Configuration error
Configuration error
updt
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def monkeypatching(alpha): #, prompt, pipe): finetuned_lora_weights
|
|
| 37 |
return image
|
| 38 |
|
| 39 |
def accelerate_train_lora(steps):
|
| 40 |
-
subprocess.run(accelerate launch "./train_lora_dreambooth.py" \
|
| 41 |
--pretrained_model_name_or_path=MODEL_NAME \
|
| 42 |
--instance_data_dir=INSTANCE_DIR \
|
| 43 |
--output_dir=OUTPUT_DIR \
|
|
|
|
| 37 |
return image
|
| 38 |
|
| 39 |
def accelerate_train_lora(steps):
|
| 40 |
+
subprocess.run(accelerate launch {"./train_lora_dreambooth.py"} \
|
| 41 |
--pretrained_model_name_or_path=MODEL_NAME \
|
| 42 |
--instance_data_dir=INSTANCE_DIR \
|
| 43 |
--output_dir=OUTPUT_DIR \
|