nickmuchi commited on
Commit
a81b02e
1 Parent(s): f4b6788

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +0 -2
functions.py CHANGED
@@ -29,8 +29,6 @@ margin-bottom: 2.5rem">{}</div> """
29
 
30
  @st.experimental_singleton(suppress_st_warning=True)
31
  def load_models():
32
- #asr_model = whisper.load_model("small")
33
- #asr_pipe = pipeline("automatic-speech-recognition",model = "openai/whisper-small")
34
  q_model = ORTModelForSequenceClassification.from_pretrained("nickmuchi/quantized-optimum-finbert-tone")
35
  ner_model = AutoModelForTokenClassification.from_pretrained("xlm-roberta-large-finetuned-conll03-english")
36
  q_tokenizer = AutoTokenizer.from_pretrained("nickmuchi/quantized-optimum-finbert-tone")
 
29
 
30
  @st.experimental_singleton(suppress_st_warning=True)
31
  def load_models():
 
 
32
  q_model = ORTModelForSequenceClassification.from_pretrained("nickmuchi/quantized-optimum-finbert-tone")
33
  ner_model = AutoModelForTokenClassification.from_pretrained("xlm-roberta-large-finetuned-conll03-english")
34
  q_tokenizer = AutoTokenizer.from_pretrained("nickmuchi/quantized-optimum-finbert-tone")