Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,10 +3,7 @@ from PIL import Image
|
|
3 |
from vit_model_test import CustomModel
|
4 |
from vit_Training import Custom_VIT_Model
|
5 |
|
6 |
-
# Initialize the model
|
7 |
-
model = CustomModel()
|
8 |
|
9 |
-
model_training = Custom_VIT_Model()
|
10 |
|
11 |
|
12 |
custom_css = """
|
@@ -32,6 +29,13 @@ custom_css = """
|
|
32 |
</style>
|
33 |
"""
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
# Store the last prediction result
|
36 |
last_prediction = None
|
37 |
|
|
|
3 |
from vit_model_test import CustomModel
|
4 |
from vit_Training import Custom_VIT_Model
|
5 |
|
|
|
|
|
6 |
|
|
|
7 |
|
8 |
|
9 |
custom_css = """
|
|
|
29 |
</style>
|
30 |
"""
|
31 |
|
32 |
+
|
33 |
+
# Initialize the model
|
34 |
+
model = CustomModel()
|
35 |
+
|
36 |
+
model_training = Custom_VIT_Model()
|
37 |
+
|
38 |
+
|
39 |
# Store the last prediction result
|
40 |
last_prediction = None
|
41 |
|