garyd1 commited on
Commit
ee24f9a
·
verified ·
1 Parent(s): 5caa7e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ gpt_model_name = "google/flan-t5-small" # Switched to a smaller model for faste
14
  gpt_tokenizer = AutoTokenizer.from_pretrained(gpt_model_name)
15
  gpt_model = AutoModelForSeq2SeqLM.from_pretrained(gpt_model_name)
16
 
17
- tts_model = TTS(model_name="tts_models/en/ljspeech/tacotron2", progress_bar=False, gpu=False) # Using a lighter TTS model
18
 
19
  # Parse PDF and create resume content
20
  def parse_resume(pdf):
 
14
  gpt_tokenizer = AutoTokenizer.from_pretrained(gpt_model_name)
15
  gpt_model = AutoModelForSeq2SeqLM.from_pretrained(gpt_model_name)
16
 
17
+ tts_model = TTS(model_name="tts_models/en/ljspeech/glow-tts", progress_bar=False, gpu=False) # Updated TTS model to avoid errors
18
 
19
  # Parse PDF and create resume content
20
  def parse_resume(pdf):