Rajut commited on
Commit
6665390
·
verified ·
1 Parent(s): 930d1a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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: