Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
transcription = pipeline("automatic-speech-recognition", model
|
5 |
clasification = pipeline("text-classification", model = "pysentimiento/robertuito-sentiment-analysis")
|
6 |
|
7 |
def audio_a_text(audio):
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
transcription = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-base-100h")
|
5 |
clasification = pipeline("text-classification", model = "pysentimiento/robertuito-sentiment-analysis")
|
6 |
|
7 |
def audio_a_text(audio):
|