HareemFatima commited on
Commit
1bb5dbb
1 Parent(s): 37da7d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import streamlit as st
2
  from transformers import pipeline,AutoProcessor, AutoTokenizer, AutoModelForTextToWaveform
3
 
4
  # Load the audio classification model
5
- processor = AutoProcessor.from_pretrained("HareemFatima/distilhubert-finetuned-stutterdetection")
6
- model = AutoModelForAudioClassification.from_pretrained("HareemFatima/distilhubert-finetuned-stutterdetection")
7
 
8
  # Load the TTS tokenizer and model
9
  tts_tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-eng")
 
2
  from transformers import pipeline,AutoProcessor, AutoTokenizer, AutoModelForTextToWaveform
3
 
4
  # Load the audio classification model
5
+ processor = AutoProcessor.from_pretrained("distilhubert-finetuned-stutterdetection")
6
+ model = AutoModelForAudioClassification.from_pretrained("distilhubert-finetuned-stutterdetection")
7
 
8
  # Load the TTS tokenizer and model
9
  tts_tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-eng")