Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import gradio as gr
|
|
| 3 |
from PIL import Image
|
| 4 |
import requests
|
| 5 |
|
|
|
|
| 6 |
from transformers import ViTFeatureExtractor
|
| 7 |
feature_extractor = ViTFeatureExtractor()
|
| 8 |
# or, to load one that corresponds to a checkpoint on the hub:
|
|
|
|
| 3 |
from PIL import Image
|
| 4 |
import requests
|
| 5 |
|
| 6 |
+
|
| 7 |
from transformers import ViTFeatureExtractor
|
| 8 |
feature_extractor = ViTFeatureExtractor()
|
| 9 |
# or, to load one that corresponds to a checkpoint on the hub:
|