Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def context_text(text): return f"### Context\n{text}\n\n### Answer"
|
|
6 |
|
7 |
@st.cache_resource
|
8 |
def load_pipe():
|
9 |
-
return pipeline("
|
10 |
|
11 |
pipe = load_pipe()
|
12 |
|
|
|
6 |
|
7 |
@st.cache_resource
|
8 |
def load_pipe():
|
9 |
+
return pipeline("token-classification", model="MSey/pbt_CaBERT_7_c10731")
|
10 |
|
11 |
pipe = load_pipe()
|
12 |
|