Spaces:
Running
Running
Alexis Roldan
commited on
Commit
•
c800519
1
Parent(s):
8d20adb
Chatbot Update 22Mar23
Browse files
app.py
CHANGED
@@ -2,9 +2,6 @@ import gradio as gr
|
|
2 |
import openai
|
3 |
import os
|
4 |
|
5 |
-
# Load package to use .env variables
|
6 |
-
from dotenv import load_dotenv
|
7 |
-
load_dotenv()
|
8 |
|
9 |
# Load openai key
|
10 |
openai.api_key = os.getenv('OPENAI_KEY')
|
|
|
2 |
import openai
|
3 |
import os
|
4 |
|
|
|
|
|
|
|
5 |
|
6 |
# Load openai key
|
7 |
openai.api_key = os.getenv('OPENAI_KEY')
|