Percy3822 commited on
Commit
6c0fe1e
·
verified ·
1 Parent(s): 62c9d8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(_file_).resolve().parent
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"