Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ qa_pipeline = pipeline("question-answering", model=model_path, tokenizer=model_p
|
|
11 |
st.title("Movie Trivia Question Answering")
|
12 |
|
13 |
# Load the context from a predefined file
|
14 |
-
context_file_path = '
|
15 |
with open(context_file_path, 'r') as file:
|
16 |
context = file.read()
|
17 |
|
|
|
11 |
st.title("Movie Trivia Question Answering")
|
12 |
|
13 |
# Load the context from a predefined file
|
14 |
+
context_file_path = 'contexts.txt' # Replace with the actual path to your context file
|
15 |
with open(context_file_path, 'r') as file:
|
16 |
context = file.read()
|
17 |
|