Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
import sys
|
| 3 |
|
| 4 |
# NOTE: Deploy ONLY: Add the src directory to the Python path
|
| 5 |
-
|
| 6 |
|
| 7 |
from pathlib import Path
|
| 8 |
from PIL import Image
|
|
|
|
| 2 |
import sys
|
| 3 |
|
| 4 |
# NOTE: Deploy ONLY: Add the src directory to the Python path
|
| 5 |
+
sys.path.append(os.path.join(os.path.dirname(__file__), "src"))
|
| 6 |
|
| 7 |
from pathlib import Path
|
| 8 |
from PIL import Image
|