Spaces:
Runtime error
Runtime error
Update main_class.py
Browse files- main_class.py +0 -1
main_class.py
CHANGED
@@ -16,7 +16,6 @@ import gradio as gr
|
|
16 |
# Inspired by https://github.com/Niez-Gharbi/PDF-RAG-with-Llama2-and-Gradio/tree/master
|
17 |
# Inspired by https://github.com/mirabdullahyaser/Retrieval-Augmented-Generation-Engine-with-LangChain-and-Streamlit/tree/master
|
18 |
|
19 |
-
api_key = os.getenv("OPENAI_API_KEY")
|
20 |
|
21 |
class PDFChatBot:
|
22 |
# Initialize the class with the api_key and the model_name
|
|
|
16 |
# Inspired by https://github.com/Niez-Gharbi/PDF-RAG-with-Llama2-and-Gradio/tree/master
|
17 |
# Inspired by https://github.com/mirabdullahyaser/Retrieval-Augmented-Generation-Engine-with-LangChain-and-Streamlit/tree/master
|
18 |
|
|
|
19 |
|
20 |
class PDFChatBot:
|
21 |
# Initialize the class with the api_key and the model_name
|