Use master branch of transformers
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.system('pip install
|
3 |
-
os.system('pip install git+https://github.com/NielsRogge/transformers.git@add_dino --upgrade')
|
4 |
|
5 |
import gradio as gr
|
6 |
from transformers import ViTFeatureExtractor, ViTModel
|
|
|
1 |
import os
|
2 |
+
os.system('pip install git+https://github.com/huggingface/transformers.git --upgrade')
|
|
|
3 |
|
4 |
import gradio as gr
|
5 |
from transformers import ViTFeatureExtractor, ViTModel
|