Spaces:
Running
Running
Fixex pipe
Browse files- .gitignore +7 -0
- app.py +1 -1
.gitignore
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
flagged/
|
2 |
+
.pt
|
3 |
+
.png
|
4 |
+
.jpg
|
5 |
+
.mp4
|
6 |
+
.mkv
|
7 |
+
gradio_cached_examples/
|
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
-
pipe = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim', use_auth_token=os.environ['HUGGINGFACE_TOKEN'])
|
6 |
|
7 |
def transcribe(audio_mic, audio_file):
|
8 |
if audio_file is not None:
|
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
+
pipe = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim', use_auth_token=os.environ['HUGGINGFACE_TOKEN'], src='model')
|
6 |
|
7 |
def transcribe(audio_mic, audio_file):
|
8 |
if audio_file is not None:
|