Youssouf Traore
commited on
Commit
·
70209b7
1
Parent(s):
6a7e41f
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,12 @@ import gradio as gr
|
|
2 |
import openai
|
3 |
import os
|
4 |
import math as matha
|
5 |
-
from decouple import config
|
6 |
-
config.encoding = 'cp1251'
|
7 |
|
8 |
-
|
|
|
|
|
|
|
|
|
9 |
|
10 |
title = "Mariam 💎"
|
11 |
description = """" Banana Banana ? 👀 bon ok ok. Bref comme vous le voyez c'est simple ! Pas besoin d'explication. C'est un script simple, c'est basé sur néoX, python, et gradio.
|
|
|
2 |
import openai
|
3 |
import os
|
4 |
import math as matha
|
|
|
|
|
5 |
|
6 |
+
from dotenv.main import load_dotenv
|
7 |
+
|
8 |
+
load_dotenv()
|
9 |
+
|
10 |
+
openai.api_key = os.environ['OPENAI_API_KEY']
|
11 |
|
12 |
title = "Mariam 💎"
|
13 |
description = """" Banana Banana ? 👀 bon ok ok. Bref comme vous le voyez c'est simple ! Pas besoin d'explication. C'est un script simple, c'est basé sur néoX, python, et gradio.
|