Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import openai
|
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
# Load environment variables from the .env file
|
| 7 |
-
load_dotenv()
|
| 8 |
|
| 9 |
openai.api_key = secrets["openai_api_key"]
|
| 10 |
# openai.organization = os.getenv("openai_organization_id")
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
# Load environment variables from the .env file
|
| 7 |
+
# load_dotenv()
|
| 8 |
|
| 9 |
openai.api_key = secrets["openai_api_key"]
|
| 10 |
# openai.organization = os.getenv("openai_organization_id")
|