Youssouf Traore
commited on
Commit
·
5d2dedb
1
Parent(s):
efc5f8f
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,11 @@ import gradio as gr
|
|
2 |
import openai
|
3 |
import os
|
4 |
import math as matha
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
openai.api_key = "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"
|
7 |
title = "Mariam 💎"
|
8 |
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.
|
9 |
|
|
|
2 |
import openai
|
3 |
import os
|
4 |
import math as matha
|
5 |
+
from decouple import config
|
6 |
+
config.encoding = 'cp1251'
|
7 |
+
|
8 |
+
openai.api_key = config('OPENAI_API_KEY')
|
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.
|
12 |
|