Spaces:
Build error
Build error
update code
Browse files- bot/utils/constanst.py +1 -3
bot/utils/constanst.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
import os
|
2 |
|
3 |
-
API_KEY = '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'
|
4 |
|
5 |
-
|
6 |
-
def set_api_key(api_key=API_KEY):
|
7 |
os.environ['OPENAI_API_KEY'] = api_key
|
8 |
return api_key
|
9 |
|
|
|
1 |
import os
|
2 |
|
|
|
3 |
|
4 |
+
def set_api_key(api_key):
|
|
|
5 |
os.environ['OPENAI_API_KEY'] = api_key
|
6 |
return api_key
|
7 |
|