bstraehle commited on
Commit
8b55e49
1 Parent(s): 8e9f35a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,10 +12,10 @@ def invoke(openai_api_key, serper_api_key, topic):
12
  if (topic == ""):
13
  raise gr.Error("Topic is required.")
14
 
15
- #os.environ["OPENAI_API_KEY"] = openai_api_key
16
  #os.environ["SERPER_API_KEY"] = serper_api_key
17
 
18
- OPENAI_API_KEY = openai_api_key
19
  AGENTOPS_API_KEY = serper_api_key
20
 
21
  #logging.basicConfig(level=logging.DEBUG)
 
12
  if (topic == ""):
13
  raise gr.Error("Topic is required.")
14
 
15
+ os.environ["OPENAI_API_KEY"] = openai_api_key
16
  #os.environ["SERPER_API_KEY"] = serper_api_key
17
 
18
+ #OPENAI_API_KEY = openai_api_key
19
  AGENTOPS_API_KEY = serper_api_key
20
 
21
  #logging.basicConfig(level=logging.DEBUG)