Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,11 +32,6 @@ model_dir = snapshot_download(model_config['model_dir'])
|
|
32 |
|
33 |
model = AutoModel(
|
34 |
model=model_dir,
|
35 |
-
trust_remote_code=False,
|
36 |
-
remote_code="./model.py",
|
37 |
-
vad_model="fsmn-vad",
|
38 |
-
punc_model="ct-punc",
|
39 |
-
spk_model=model_dir,
|
40 |
vad_kwargs={"max_single_segment_time": 15000},
|
41 |
ncpu=torch.get_num_threads(),
|
42 |
batch_size=1,
|
|
|
32 |
|
33 |
model = AutoModel(
|
34 |
model=model_dir,
|
|
|
|
|
|
|
|
|
|
|
35 |
vad_kwargs={"max_single_segment_time": 15000},
|
36 |
ncpu=torch.get_num_threads(),
|
37 |
batch_size=1,
|