jcg00v commited on
Commit
389d4d9
1 Parent(s): 99c48ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ if __name__ == "__main__":
109
 
110
  model_pt = AutoModelForTokenClassification.from_pretrained("VOCALINLP/portuguese_capitalization_punctuation_restoration_sanivert")
111
  tokenizer_pt = AutoTokenizer.from_pretrained("VOCALINLP/portuguese_capitalization_punctuation_restoration_sanivert")
112
- pipe_pt = pipeline("token-classification", model=model_ca, tokenizer=tokenizer_ca)
113
 
114
  st.sidebar.image("vocali_logo.jpg")
115
  st.sidebar.subheader("Parque Científico de Murcia, Carretera de Madrid km 388. Complejo de Espinardo, 30100 Murcia")
 
109
 
110
  model_pt = AutoModelForTokenClassification.from_pretrained("VOCALINLP/portuguese_capitalization_punctuation_restoration_sanivert")
111
  tokenizer_pt = AutoTokenizer.from_pretrained("VOCALINLP/portuguese_capitalization_punctuation_restoration_sanivert")
112
+ pipe_pt = pipeline("token-classification", model=model_pt, tokenizer=tokenizer_pt)
113
 
114
  st.sidebar.image("vocali_logo.jpg")
115
  st.sidebar.subheader("Parque Científico de Murcia, Carretera de Madrid km 388. Complejo de Espinardo, 30100 Murcia")