warhawkmonk commited on
Commit
b8b337c
·
verified ·
1 Parent(s): 54b1a04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def encoding_model():
100
 
101
  @st.cache_resource
102
  def Q_and_A_model():
103
- qa_model = pipeline('question-answering', model='CATIE-AQ/QAmembert-large', tokenizer='CATIE-AQ/QAmembert-large')
104
  return qa_model
105
 
106
  def executer(query):
 
100
 
101
  @st.cache_resource
102
  def Q_and_A_model():
103
+ qa_model = pipeline('question-answering', model='etalab-ia/camembert-base-squadFR-fquad-piaf', tokenizer='etalab-ia/camembert-base-squadFR-fquad-piaf')
104
  return qa_model
105
 
106
  def executer(query):