MSey commited on
Commit
d8d5f69
·
verified ·
1 Parent(s): 89cd9d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("text-generation", model="MSey/pbt_CaBERT_7_c10731")
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