GiulioBarza commited on
Commit
d444c4e
1 Parent(s): 2e49f3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def load_pdf(file_path):
14
  catalogo_text = load_pdf("Catalogo IVR BC01 - Listino Prezzi.pdf")
15
 
16
  # Inizializza il modello di QA
17
- qa = pipeline("question-answering", model="distilbert-base-uncased-distilled-squad")
18
 
19
  def chatbot(question):
20
  result = qa(question=question, context=catalogo_text)
 
14
  catalogo_text = load_pdf("Catalogo IVR BC01 - Listino Prezzi.pdf")
15
 
16
  # Inizializza il modello di QA
17
+ qa = pipeline("question-answering", model="distilbert-base-multilingual-cased")
18
 
19
  def chatbot(question):
20
  result = qa(question=question, context=catalogo_text)