Spaces:
Runtime error
Runtime error
data dir
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import uuid
|
|
| 5 |
from pathlib import Path
|
| 6 |
import gradio as gr
|
| 7 |
|
| 8 |
-
PERSIST_ROOT = Path(os.getenv("PERSIST_ROOT", "
|
| 9 |
OUT_DIR = PERSIST_ROOT / "outputs"
|
| 10 |
OUT_DIR.mkdir(parents=True, exist_ok=True)
|
| 11 |
|
|
|
|
| 5 |
from pathlib import Path
|
| 6 |
import gradio as gr
|
| 7 |
|
| 8 |
+
PERSIST_ROOT = Path(os.getenv("PERSIST_ROOT", "./data"))
|
| 9 |
OUT_DIR = PERSIST_ROOT / "outputs"
|
| 10 |
OUT_DIR.mkdir(parents=True, exist_ok=True)
|
| 11 |
|