bstraehle commited on
Commit
df53722
·
verified ·
1 Parent(s): 575b160

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -30,7 +30,6 @@ from assistants import (
30
 
31
  def chat(message, history, openai_api_key):
32
  if not openai_api_key:
33
- set_openai_client()
34
  raise gr.Error("OpenAI API Key is required (see additional inputs below).")
35
  if not message:
36
  raise gr.Error("Message is required.")
 
30
 
31
  def chat(message, history, openai_api_key):
32
  if not openai_api_key:
 
33
  raise gr.Error("OpenAI API Key is required (see additional inputs below).")
34
  if not message:
35
  raise gr.Error("Message is required.")