Docfile commited on
Commit
069f015
·
verified ·
1 Parent(s): f1b201b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,6 +5,8 @@ token=os.environ.get("TOKEN")
5
 
6
  description_french = " Esseu je dois encore expliquer ?"
7
 
 
 
8
  genai.configure(
9
  api_key=token
10
  )
@@ -40,7 +42,7 @@ model = genai.GenerativeModel(model_name="gemini-1.5-flash-latest",
40
 
41
 
42
  def gpt_francais(french_prompt,choix,autheur):
43
-
44
  if not french_prompt:
45
  return "Veuillez saisir un thème ."
46
 
 
5
 
6
  description_french = " Esseu je dois encore expliquer ?"
7
 
8
+
9
+ e = ""
10
  genai.configure(
11
  api_key=token
12
  )
 
42
 
43
 
44
  def gpt_francais(french_prompt,choix,autheur):
45
+ global e
46
  if not french_prompt:
47
  return "Veuillez saisir un thème ."
48