Spaces:
Sleeping
Sleeping
Commit
·
8505e75
1
Parent(s):
51bf7ca
chore(): testing key
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import openai
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
|
|
5 |
MODEL_NAME = "gpt-4"
|
6 |
|
7 |
# Function to send messages to GPT-4
|
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
+
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
6 |
MODEL_NAME = "gpt-4"
|
7 |
|
8 |
# Function to send messages to GPT-4
|