Spaces:
Sleeping
Sleeping
Update flux_train.py
Browse files- flux_train.py +5 -0
flux_train.py
CHANGED
@@ -2,8 +2,13 @@
|
|
2 |
|
3 |
import os
|
4 |
from collections import OrderedDict
|
|
|
|
|
|
|
5 |
from toolkit.job import run_job
|
6 |
|
|
|
|
|
7 |
def build_job(concept="ohamlab style", training_path="/tmp/data", lora_name="ohami_filter_autorun"):
|
8 |
job = OrderedDict([
|
9 |
('job', 'extension'),
|
|
|
2 |
|
3 |
import os
|
4 |
from collections import OrderedDict
|
5 |
+
import sys
|
6 |
+
sys.path.append("/app/ai-toolkit") # Tell Python to look here
|
7 |
+
|
8 |
from toolkit.job import run_job
|
9 |
|
10 |
+
|
11 |
+
|
12 |
def build_job(concept="ohamlab style", training_path="/tmp/data", lora_name="ohami_filter_autorun"):
|
13 |
job = OrderedDict([
|
14 |
('job', 'extension'),
|