Spaces:
Runtime error
Runtime error
Commit
·
809d8e1
1
Parent(s):
e4848d6
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def set_api_key(key):
|
|
15 |
|
16 |
def reset_api_key():
|
17 |
os.environ["OPENAI_API_KEY"] = ""
|
18 |
-
return api_key_status: gr.update(placeholder="Your API Key has been reset")
|
19 |
|
20 |
def get_api_key():
|
21 |
api_key = os.getenv("OPENAI_API_KEY")
|
|
|
15 |
|
16 |
def reset_api_key():
|
17 |
os.environ["OPENAI_API_KEY"] = ""
|
18 |
+
return {api_key_status: gr.update(placeholder="Your API Key has been reset")}
|
19 |
|
20 |
def get_api_key():
|
21 |
api_key = os.getenv("OPENAI_API_KEY")
|