I was getting this issue when it was working fine earlier? this is my code
import os
import streamlit as st
from llama_index import GPTSimpleVectorIndex, download_loader
from pathlib import Path
# Set API key
os.environ["OPENAI_API_KEY"] = ''
# Load the documents
CJKPDFReader = download_loader("CJKPDFReader")
loader = CJKPDFReader()
documents = loader.load_data(file=Path('./article.pdf'))
# Create the index
index = GPTSimpleVectorIndex.from_documents(documents)
# Streamlit app
st.title("Question-Answering Bot")
st.write("Ask a question about Justin Bieber:")
# Get user input
user_question = st.text_input("Your question:")
if user_question:
response = index.query(user_question)
st.write("Answer:", response)
else:
st.write("Please enter a question.")