enoreyes commited on
Commit
aa52070
1 Parent(s): 3497d1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -13,7 +13,7 @@ from transformers import pipeline, Wav2Vec2ProcessorWithLM
13
  from pyannote.audio import Pipeline
14
  import whisperx
15
 
16
- from utils import split_into_sentences, summarize, sentiment, color_map
17
  from utils import speech_to_text as stt
18
 
19
  os.environ["TOKENIZERS_PARALLELISM"] = "false"
@@ -34,11 +34,6 @@ emotion_pipeline = pipeline(
34
  model="bhadresh-savani/distilbert-base-uncased-emotion",
35
  device=device,
36
  )
37
- summarization_pipeline = pipeline(
38
- "summarization",
39
- model="knkarthick/MEETING_SUMMARY",
40
- device=device
41
- )
42
 
43
  EXAMPLES = [["Customer_Support_Call.wav"]]
44
 
 
13
  from pyannote.audio import Pipeline
14
  import whisperx
15
 
16
+ from utils import split_into_sentences, sentiment, color_map
17
  from utils import speech_to_text as stt
18
 
19
  os.environ["TOKENIZERS_PARALLELISM"] = "false"
 
34
  model="bhadresh-savani/distilbert-base-uncased-emotion",
35
  device=device,
36
  )
 
 
 
 
 
37
 
38
  EXAMPLES = [["Customer_Support_Call.wav"]]
39