Spaces:
Runtime error
Runtime error
Don't commit your api key in the public repo
#1
by
hesamossanloo
- opened
app.py
CHANGED
@@ -3,7 +3,7 @@ import re
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Define OpenAI API key
|
6 |
-
openai.api_key = "
|
7 |
|
8 |
model_engine = "text-davinci-003"
|
9 |
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Define OpenAI API key
|
6 |
+
openai.api_key = "MAKE_THIS_AN_ENV_VAR"
|
7 |
|
8 |
model_engine = "text-davinci-003"
|
9 |
|