vmasmitja
commited on
Commit
·
b30cede
1
Parent(s):
fd6fb97
Fix app initialization issue
Browse files
app.py
CHANGED
@@ -7,7 +7,8 @@ from transformers import pipeline
|
|
7 |
import gradio as gr
|
8 |
|
9 |
# Modelos de Hugging Face para español
|
10 |
-
transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-small", language="es")
|
|
|
11 |
summarizer = pipeline("summarization", model="mrm8488/bert2bert_shared-spanish-finetuned-summarization")
|
12 |
|
13 |
# Variable global para estados y transcripciones
|
|
|
7 |
import gradio as gr
|
8 |
|
9 |
# Modelos de Hugging Face para español
|
10 |
+
#transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-small", language="es")
|
11 |
+
transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-small")
|
12 |
summarizer = pipeline("summarization", model="mrm8488/bert2bert_shared-spanish-finetuned-summarization")
|
13 |
|
14 |
# Variable global para estados y transcripciones
|