Spaces:
Runtime error
Runtime error
Install Transformers from source
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.system('pip install git+https://github.com/
|
3 |
|
4 |
import gradio as gr
|
5 |
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
|
|
|
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 TrOCRProcessor, VisionEncoderDecoderModel
|