GlitchGhost commited on
Commit
f68e648
·
verified ·
1 Parent(s): e84b2a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def split_text(text, chunk_size=500, overlap=50):
37
 
38
  def ask_mistral(question, context, hf_api_key):
39
  # Load the Hugging Face Mistral model pipeline
40
- nlp = pipeline("question-answering", model="mistral-7b", tokenizer="mistral-7b", use_auth_token=hf_api_key)
41
 
42
  # Format the input
43
  inputs = {
 
37
 
38
  def ask_mistral(question, context, hf_api_key):
39
  # Load the Hugging Face Mistral model pipeline
40
+ nlp = pipeline("question-answering", model="mistralai/Mistral-7B-v0.3", tokenizer="mistralai/Mistral-7B-v0.3", use_auth_token=hf_api_key)
41
 
42
  # Format the input
43
  inputs = {