Upload zai-org_GLM-ASR-Nano-2512_0.py with huggingface_hub
Browse files
zai-org_GLM-ASR-Nano-2512_0.py
CHANGED
|
@@ -23,7 +23,7 @@ try:
|
|
| 23 |
# Use a pipeline as a high-level helper
|
| 24 |
from transformers import pipeline
|
| 25 |
|
| 26 |
-
pipe = pipeline("automatic-speech-recognition", model="zai-org/GLM-ASR-Nano-2512"
|
| 27 |
with open('zai-org_GLM-ASR-Nano-2512_0.txt', 'w', encoding='utf-8') as f:
|
| 28 |
f.write('Everything was good in zai-org_GLM-ASR-Nano-2512_0.txt')
|
| 29 |
except Exception as e:
|
|
@@ -41,7 +41,7 @@ except Exception as e:
|
|
| 41 |
# Use a pipeline as a high-level helper
|
| 42 |
from transformers import pipeline
|
| 43 |
|
| 44 |
-
pipe = pipeline("automatic-speech-recognition", model="zai-org/GLM-ASR-Nano-2512"
|
| 45 |
```
|
| 46 |
|
| 47 |
ERROR:
|
|
|
|
| 23 |
# Use a pipeline as a high-level helper
|
| 24 |
from transformers import pipeline
|
| 25 |
|
| 26 |
+
pipe = pipeline("automatic-speech-recognition", model="zai-org/GLM-ASR-Nano-2512")
|
| 27 |
with open('zai-org_GLM-ASR-Nano-2512_0.txt', 'w', encoding='utf-8') as f:
|
| 28 |
f.write('Everything was good in zai-org_GLM-ASR-Nano-2512_0.txt')
|
| 29 |
except Exception as e:
|
|
|
|
| 41 |
# Use a pipeline as a high-level helper
|
| 42 |
from transformers import pipeline
|
| 43 |
|
| 44 |
+
pipe = pipeline("automatic-speech-recognition", model="zai-org/GLM-ASR-Nano-2512")
|
| 45 |
```
|
| 46 |
|
| 47 |
ERROR:
|