ai-tomoni commited on
Commit
8f37ee7
·
verified ·
1 Parent(s): e04d195

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -131,8 +131,8 @@ with gr.Blocks() as demo:
131
  )
132
 
133
  if __name__ == "__main__":
134
- if not os.getenv("OPENAI_API_KEY"):
135
- print("❌ FEHLER: OPENAI_API_KEY Umgebungsvariable ist nicht gesetzt!")
136
  else:
137
  print("✅ OpenAI API Key gefunden")
138
  demo.launch(share=False)
 
131
  )
132
 
133
  if __name__ == "__main__":
134
+ if not os.getenv("openai"):
135
+ print("❌ FEHLER: openai Umgebungsvariable ist nicht gesetzt!")
136
  else:
137
  print("✅ OpenAI API Key gefunden")
138
  demo.launch(share=False)