Spaces:
Runtime error
Runtime error
Update LegalBot.py
Browse files- LegalBot.py +1 -2
LegalBot.py
CHANGED
@@ -11,8 +11,7 @@ from langchain.text_splitter import CharacterTextSplitter
|
|
11 |
import openai
|
12 |
|
13 |
|
14 |
-
|
15 |
-
# Set OpenAI API Key (I used Hugging Facce Secret Environment)
|
16 |
openai.api_key = os.environ.get("OPENAI_API_KEY")
|
17 |
|
18 |
# Document file paths
|
|
|
11 |
import openai
|
12 |
|
13 |
|
14 |
+
# Set OpenAI API Key (I used Hugging Face Secrets Environment and Inserted my API Key there)
|
|
|
15 |
openai.api_key = os.environ.get("OPENAI_API_KEY")
|
16 |
|
17 |
# Document file paths
|