Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,8 @@ import os
|
|
| 6 |
import re
|
| 7 |
|
| 8 |
# model = whisper.load_model("base")
|
| 9 |
-
model = pipeline(model="AlexMo/FIFA_WC22_WINNER_LANGUAGE_MODEL")
|
|
|
|
| 10 |
summarizer = pipeline("summarization")
|
| 11 |
|
| 12 |
def transcribe_inp(microphone, file_upload):
|
|
|
|
| 6 |
import re
|
| 7 |
|
| 8 |
# model = whisper.load_model("base")
|
| 9 |
+
# model = pipeline(model="AlexMo/FIFA_WC22_WINNER_LANGUAGE_MODEL")
|
| 10 |
+
model = pipeline(model="AlexMo/improved_whisper_model")
|
| 11 |
summarizer = pipeline("summarization")
|
| 12 |
|
| 13 |
def transcribe_inp(microphone, file_upload):
|