Spaces:
Running
Running
user01
commited on
Commit
·
3dbaa47
1
Parent(s):
619446c
[fix] fix error
Browse files- app.py +3 -3
- requirements.txt +0 -1
app.py
CHANGED
@@ -15,11 +15,11 @@
|
|
15 |
|
16 |
import json
|
17 |
import gradio as gr
|
18 |
-
import torch
|
19 |
import wenet
|
20 |
-
import librosa
|
21 |
|
22 |
-
wenet.set_log_level(2)
|
23 |
# TODO: add hotword
|
24 |
chs_model = wenet.load_model('chinese')
|
25 |
en_model = wenet.load_model('english')
|
|
|
15 |
|
16 |
import json
|
17 |
import gradio as gr
|
18 |
+
# import torch
|
19 |
import wenet
|
20 |
+
# import librosa
|
21 |
|
22 |
+
# wenet.set_log_level(2)
|
23 |
# TODO: add hotword
|
24 |
chs_model = wenet.load_model('chinese')
|
25 |
en_model = wenet.load_model('english')
|
requirements.txt
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
wenet @ git+https://github.com/wenet-e2e/wenet.git
|
2 |
gradio
|
3 |
-
librosa
|
|
|
1 |
wenet @ git+https://github.com/wenet-e2e/wenet.git
|
2 |
gradio
|
|