mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-09 01:52:39 +00:00
Fix setup.py
This commit is contained in:
parent
0348fda69f
commit
fa6404ad19
4
setup.py
4
setup.py
@ -61,5 +61,7 @@ with open("kaldifeat/python/kaldifeat/__init__.py", "r") as f:
|
||||
|
||||
with open("kaldifeat/python/kaldifeat/__init__.py", "w") as f:
|
||||
for line in lines:
|
||||
if "__version__" not in line:
|
||||
if "__version__" in line and "torch" not in line:
|
||||
# skip __version__ = "x.x.x"
|
||||
continue
|
||||
f.write(line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user