Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ import json
|
|
| 37 |
import yaml
|
| 38 |
from slugify import slugify
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
|
| 43 |
|
|
@@ -587,8 +587,8 @@ def auto_run_lora_from_repo():
|
|
| 587 |
|
| 588 |
# ✅ Optional advanced config
|
| 589 |
slugged_lora_name = LORA_NAME.replace(" ", "_")
|
| 590 |
-
os.makedirs("tmp_configs", exist_ok=True)
|
| 591 |
-
config_path = f"tmp_configs/{uuid.uuid4()}_{slugged_lora_name}.yaml"
|
| 592 |
|
| 593 |
config = {
|
| 594 |
"sample_1": "a stylish anime character with ohamlab style",
|
|
|
|
| 37 |
import yaml
|
| 38 |
from slugify import slugify
|
| 39 |
|
| 40 |
+
|
| 41 |
|
| 42 |
|
| 43 |
|
|
|
|
| 587 |
|
| 588 |
# ✅ Optional advanced config
|
| 589 |
slugged_lora_name = LORA_NAME.replace(" ", "_")
|
| 590 |
+
os.makedirs("/tmp/tmp_configs", exist_ok=True)
|
| 591 |
+
config_path = f"/tmp/tmp_configs/{uuid.uuid4()}_{slugged_lora_name}.yaml"
|
| 592 |
|
| 593 |
config = {
|
| 594 |
"sample_1": "a stylish anime character with ohamlab style",
|