Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
import numpy as np
|
5 |
|
6 |
# Load the model and feature extractor
|
7 |
-
model = TFAutoModelForImageClassification.from_pretrained("
|
8 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model.config._name_or_path)
|
9 |
|
10 |
# Streamlit UI
|
|
|
4 |
import numpy as np
|
5 |
|
6 |
# Load the model and feature extractor
|
7 |
+
model = TFAutoModelForImageClassification.from_pretrained("willco-afk/tree-test") # Replace with your repo
|
8 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model.config._name_or_path)
|
9 |
|
10 |
# Streamlit UI
|