Commit
·
2993e07
1
Parent(s):
8eee1d0
remove installation of easyocr and transformers through os.system
Browse files
app.py
CHANGED
|
@@ -15,8 +15,10 @@ def init_session_states():
|
|
| 15 |
st.session_state['disp'].text("Setting up environment with latest build of easyocr. This will take about a minute ")
|
| 16 |
if 'init' not in st.session_state:
|
| 17 |
st.session_state['init'] = 1
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
|
|
|
|
| 15 |
st.session_state['disp'].text("Setting up environment with latest build of easyocr. This will take about a minute ")
|
| 16 |
if 'init' not in st.session_state:
|
| 17 |
st.session_state['init'] = 1
|
| 18 |
+
|
| 19 |
+
# Not required as they are already installed through requirements and also seems to cause errors
|
| 20 |
+
# os.system('pip install git+git://github.com/jaidedai/easyocr.git')
|
| 21 |
+
# os.system('pip install git+https://github.com/huggingface/transformers.git --upgrade')
|
| 22 |
|
| 23 |
|
| 24 |
|