Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os, shutil, subprocess, zipfile
|
|
| 2 |
from pathlib import Path
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
-
ROOT = Path(
|
| 6 |
DATA = ROOT / "dataset.jsonl" # single-file mode target
|
| 7 |
LOG = ROOT / "train.log"
|
| 8 |
OUT = ROOT / "trained_model"
|
|
|
|
| 2 |
from pathlib import Path
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
+
ROOT = Path(__file__).resolve().parent
|
| 6 |
DATA = ROOT / "dataset.jsonl" # single-file mode target
|
| 7 |
LOG = ROOT / "train.log"
|
| 8 |
OUT = ROOT / "trained_model"
|