nielsr HF staff commited on
Commit
7a5b81c
1 Parent(s): 9f2d047

Install Transformers from source

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- os.system('pip install git+https://github.com/nielsrogge/transformers.git@add_tr_ocr --upgrade')
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