Demosthene-OR commited on
Commit
75478a8
·
1 Parent(s): 5486979

Update playground.py

Browse files
Files changed (1) hide show
  1. tabs/playground.py +2 -1
tabs/playground.py CHANGED
@@ -85,6 +85,7 @@ def run():
85
  Cet espace a pour objectif d'observer la génération de token par ChatGPT'
86
  """)
87
  , unsafe_allow_html=True)
 
88
  if os.environ['OPENAI_API_KEY']!="":
89
  try:
90
  col1, col2 = st.columns([3, 1])
@@ -107,7 +108,7 @@ def run():
107
  except Exception as e:
108
  st.error(f"An unexpected error occurred: {e}")
109
  else:
110
- st.write("Saisissez d'abord votre clé API OpenAI !")
111
 
112
 
113
 
 
85
  Cet espace a pour objectif d'observer la génération de token par ChatGPT'
86
  """)
87
  , unsafe_allow_html=True)
88
+ st.write(os.environ['OPENAI_API_KEY'])
89
  if os.environ['OPENAI_API_KEY']!="":
90
  try:
91
  col1, col2 = st.columns([3, 1])
 
108
  except Exception as e:
109
  st.error(f"An unexpected error occurred: {e}")
110
  else:
111
+ st.write(tr("Saisissez d'abord votre clé API OpenAI !"))
112
 
113
 
114