JustinLin610 commited on
Commit
08374eb
1 Parent(s): f9e5ccd
Files changed (2) hide show
  1. app.py +9 -0
  2. requirements.txt +0 -2
app.py CHANGED
@@ -1,4 +1,13 @@
1
  import os
 
 
 
 
 
 
 
 
 
2
  import torch
3
  import numpy as np
4
  from fairseq import utils, tasks
 
1
  import os
2
+
3
+ os.system('cd fairseq;'
4
+ 'pip install --use-feature=in-tree-build ./; cd ..')
5
+ os.system('ls -l')
6
+
7
+ os.system('cd EasyOCRLite;'
8
+ 'pip install --use-feature=in-tree-build ./; cd ..')
9
+ os.system('ls -l')
10
+
11
  import torch
12
  import numpy as np
13
  from fairseq import utils, tasks
requirements.txt CHANGED
@@ -1,5 +1,3 @@
1
- --use-feature=in-tree-build ./fairseq/
2
- --use-feature=in-tree-build ./EasyOCRLite
3
  opencv-python
4
  timm
5
  ftfy==6.0.3
 
 
 
1
  opencv-python
2
  timm
3
  ftfy==6.0.3