Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,4 @@
|
|
1 |
-
|
2 |
-
from transformers import BeitFeatureExtractor, BeitForImageClassification
|
3 |
-
from PIL import Image
|
4 |
-
import requests
|
5 |
-
import numpy as np
|
6 |
|
7 |
# Load the pre-trained BEiT model and feature extractor
|
8 |
feature_extractor = BeitFeatureExtractor.from_pretrained('microsoft/beit-large-patch16-512')
|
|
|
1 |
+
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Load the pre-trained BEiT model and feature extractor
|
4 |
feature_extractor = BeitFeatureExtractor.from_pretrained('microsoft/beit-large-patch16-512')
|