Spaces:
Build error
Build error
Commit ·
5a3020e
1
Parent(s): 57c9526
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)
|