Spaces:
Sleeping
Sleeping
nazlicanto
commited on
Commit
•
d252b2a
1
Parent(s):
09d042e
Update app06.py
Browse files
app06.py
CHANGED
@@ -5,7 +5,7 @@ import numpy as np
|
|
5 |
import torch
|
6 |
|
7 |
# Define the model path
|
8 |
-
model_hub_path = "nazlicanto/model_defectdetection"
|
9 |
|
10 |
# Load the model and preprocessor
|
11 |
model = SegformerForSemanticSegmentation.from_pretrained(model_hub_path)
|
|
|
5 |
import torch
|
6 |
|
7 |
# Define the model path
|
8 |
+
model_hub_path = "nazlicanto/model_defectdetection/model/"
|
9 |
|
10 |
# Load the model and preprocessor
|
11 |
model = SegformerForSemanticSegmentation.from_pretrained(model_hub_path)
|