Spaces:
Runtime error
Runtime error
remove key override.
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ import gradio as gr
|
|
6 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
7 |
|
8 |
#if you have OpenAI API key as a string, enable the below
|
9 |
-
openai.api_key = ""
|
|
|
10 |
|
11 |
start_sequence = "\ChatGPT:"
|
12 |
restart_sequence = "\nMe: "
|
|
|
6 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
7 |
|
8 |
#if you have OpenAI API key as a string, enable the below
|
9 |
+
# openai.api_key = ""
|
10 |
+
print("key", openai.api_key)
|
11 |
|
12 |
start_sequence = "\ChatGPT:"
|
13 |
restart_sequence = "\nMe: "
|