Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def set_openai_api_key(api_key: str):
|
|
17 |
if api_key:
|
18 |
os.environ["OPENAI_API_KEY"] = api_key
|
19 |
chain = get_chain(vectorstore)
|
20 |
-
os.environ["OPENAI_API_KEY"] = "
|
21 |
return chain
|
22 |
|
23 |
class ChatWrapper:
|
|
|
17 |
if api_key:
|
18 |
os.environ["OPENAI_API_KEY"] = api_key
|
19 |
chain = get_chain(vectorstore)
|
20 |
+
os.environ["OPENAI_API_KEY"] = ""
|
21 |
return chain
|
22 |
|
23 |
class ChatWrapper:
|