Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
import torch
|
8 |
|
9 |
pipe = pipeline(model="thak123/gom-stt-v3", #"thak123/whisper-small-LDC-V1", #"thak123/whisper-small-gom",
|
10 |
-
task="automatic-speech-recognition",
|
11 |
|
12 |
# pipe.model.config.forced_decoder_ids = (
|
13 |
# pipe.tokenizer.get_decoder_prompt_ids(
|
|
|
7 |
import torch
|
8 |
|
9 |
pipe = pipeline(model="thak123/gom-stt-v3", #"thak123/whisper-small-LDC-V1", #"thak123/whisper-small-gom",
|
10 |
+
task="automatic-speech-recognition", tokenizer= tokenizer) # change to "your-username/the-name-you-picked"
|
11 |
|
12 |
# pipe.model.config.forced_decoder_ids = (
|
13 |
# pipe.tokenizer.get_decoder_prompt_ids(
|