Spaces:
Runtime error
Runtime error
Commit
·
e13d4d1
1
Parent(s):
2a02977
update
Browse files- app.py +0 -5
- requirements.txt +1 -1
app.py
CHANGED
@@ -1,9 +1,4 @@
|
|
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 |
import torch
|
8 |
import numpy as np
|
9 |
from fairseq import utils, tasks
|
|
|
1 |
import os
|
|
|
|
|
|
|
|
|
|
|
2 |
import torch
|
3 |
import numpy as np
|
4 |
from fairseq import utils, tasks
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
-
|
2 |
-e ./EasyOCRLite/
|
3 |
opencv-python
|
4 |
timm
|
|
|
1 |
+
--use-feature=in-tree-build ./fairseq/
|
2 |
-e ./EasyOCRLite/
|
3 |
opencv-python
|
4 |
timm
|