Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def main(args):
|
|
150 |
if not check_package_installed('transformers'):
|
151 |
print('Please install transformers module first.')
|
152 |
exit(0)
|
153 |
-
hubert_model_path = '
|
154 |
if not os.path.exists(hubert_model_path):
|
155 |
print('Please download the hubert weight into the ckpts path first.')
|
156 |
exit(0)
|
|
|
150 |
if not check_package_installed('transformers'):
|
151 |
print('Please install transformers module first.')
|
152 |
exit(0)
|
153 |
+
hubert_model_path = 'ckpt/chinese-hubert-large'
|
154 |
if not os.path.exists(hubert_model_path):
|
155 |
print('Please download the hubert weight into the ckpts path first.')
|
156 |
exit(0)
|