Spaces:
Configuration error
Configuration error
Danila-Pechenev
commited on
Commit
·
3a142aa
1
Parent(s):
75138de
Fix import `app.model`
Browse files- test/test_model.py +1 -4
test/test_model.py
CHANGED
@@ -1,10 +1,7 @@
|
|
1 |
from PIL import Image
|
2 |
from tensorflow import keras
|
3 |
-
import sys
|
4 |
import io
|
5 |
-
|
6 |
-
sys.path.append("./../app")
|
7 |
-
import model
|
8 |
|
9 |
model_instance: keras.Model = model.create_model()
|
10 |
|
|
|
1 |
from PIL import Image
|
2 |
from tensorflow import keras
|
|
|
3 |
import io
|
4 |
+
from ..app import model
|
|
|
|
|
5 |
|
6 |
model_instance: keras.Model = model.create_model()
|
7 |
|