Update app.py
Browse files
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=
|
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")
|