Adding model name
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import os, time
|
|
| 5 |
|
| 6 |
from transformers import pipeline
|
| 7 |
|
| 8 |
-
p = pipeline("automatic-speech-recognition")
|
| 9 |
|
| 10 |
"""Use text to call chat method from main.py"""
|
| 11 |
|
|
|
|
| 5 |
|
| 6 |
from transformers import pipeline
|
| 7 |
|
| 8 |
+
p = pipeline("automatic-speech-recognition", model="openai/whisper-base")
|
| 9 |
|
| 10 |
"""Use text to call chat method from main.py"""
|
| 11 |
|