Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ from langchain.chains.question_answering import load_qa_chain
|
|
6 |
from langchain_openai import OpenAI
|
7 |
import gradio as gr
|
8 |
|
|
|
|
|
9 |
# Function to read text from a file
|
10 |
def read_txt(file_path):
|
11 |
with open(file_path, "r") as file:
|
|
|
6 |
from langchain_openai import OpenAI
|
7 |
import gradio as gr
|
8 |
|
9 |
+
openai_api_key = "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"
|
10 |
+
|
11 |
# Function to read text from a file
|
12 |
def read_txt(file_path):
|
13 |
with open(file_path, "r") as file:
|