NicolasGaudemet
commited on
Commit
·
d0ac486
1
Parent(s):
06153c2
Update writing_assistant_app.py
Browse files- writing_assistant_app.py +1 -1
writing_assistant_app.py
CHANGED
@@ -2,7 +2,7 @@ import openai
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Configure votre clé API
|
5 |
-
openai.api_key = OpenaiKey
|
6 |
|
7 |
def writing_assistant(debut, suite):
|
8 |
# Construction de la requête
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Configure votre clé API
|
5 |
+
openai.api_key = os.environ['OpenaiKey']
|
6 |
|
7 |
def writing_assistant(debut, suite):
|
8 |
# Construction de la requête
|