MonkeyDLLLLLLuffy commited on
Commit
00e21cf
·
verified ·
1 Parent(s): 9406f1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def transcribe_audio(audio_path):
71
  return remove_punctuation(remove_repeated_phrases(pipe({"sampling_rate": sample_rate, "raw": waveform})["text"]))
72
 
73
  # Sentiment analysis model
74
- sentiment_pipe = pipeline("text-classification", model="Leo0129/CustomModel-multilingual-sentiment-analysis", device=device)
75
 
76
  # Rate sentiment with batch processing
77
  def rate_quality(text):
 
71
  return remove_punctuation(remove_repeated_phrases(pipe({"sampling_rate": sample_rate, "raw": waveform})["text"]))
72
 
73
  # Sentiment analysis model
74
+ sentiment_pipe = pipeline("text-classification", model="MonkeyDLLLLLLuffy/CustomModel-multilingual-sentiment-analysis-enhanced", device=device)
75
 
76
  # Rate sentiment with batch processing
77
  def rate_quality(text):