Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import pipeline
|
2 |
+
from transformers.pipelines.audio_utils import ffmpeg_microphone_live
|
3 |
+
import torch
|
4 |
+
|
5 |
+
asr_model = "openai/whisper-tiny.en"
|
6 |
+
nlp_model = "MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli"
|