sabssag commited on
Commit
c705de2
·
verified ·
1 Parent(s): 8678a4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  # Define the path to the saved model
5
- model_path = './results' # Path to your fine-tuned model
6
 
7
  # Load the pipeline
8
  qa_pipeline = pipeline("question-answering", model=model_path, tokenizer=model_path)
 
2
  from transformers import pipeline
3
 
4
  # Define the path to the saved model
5
+ model_path = './QAModel'
6
 
7
  # Load the pipeline
8
  qa_pipeline = pipeline("question-answering", model=model_path, tokenizer=model_path)