JustinLin610 commited on
Commit
c7e3234
1 Parent(s): aed6b58
Files changed (2) hide show
  1. app.py +1 -2
  2. requirements.txt +2 -1
app.py CHANGED
@@ -8,8 +8,7 @@ os.system('cd fairseq;'
8
  os.system('cd ezocr;'
9
  'pip install .; cd ..')
10
 
11
- os.system('pip install --upgrade tensorflow-gpu==1.15;'
12
- 'pip install "modelscope[cv]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html')
13
 
14
  import torch
15
  import numpy as np
 
8
  os.system('cd ezocr;'
9
  'pip install .; cd ..')
10
 
11
+ os.system('pip install "modelscope[cv]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html')
 
12
 
13
  import torch
14
  import numpy as np
requirements.txt CHANGED
@@ -10,4 +10,5 @@ datasets
10
  python-Levenshtein
11
  zhconv
12
  transformers
13
- pandas
 
 
10
  python-Levenshtein
11
  zhconv
12
  transformers
13
+ pandas
14
+ tensorflow-gpu==1.15