Spaces:
Sleeping
Sleeping
nazlicanto
commited on
Commit
•
57c9526
1
Parent(s):
d252b2a
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/"
|
9 |
|
10 |
# Load the model and preprocessor
|
11 |
model = SegformerForSemanticSegmentation.from_pretrained(model_hub_path)
|