Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ import os
|
|
5 |
|
6 |
from chat import RetrievalChatbot
|
7 |
|
8 |
-
|
9 |
-
api_key = 'sk-api-NTwb26YCf5prxxfEXP0GT3BlbkFJMyqibpALZQBxqxks1uQ0'
|
10 |
print(api_key)
|
11 |
api_base=''#os.environ["OPENAI_API_BASE"]
|
12 |
pdf_dir = "D:\\BaiduNetdiskDownload\\papers_all"
|
|
|
5 |
|
6 |
from chat import RetrievalChatbot
|
7 |
|
8 |
+
api_key = os.environ["OPENAI_API_KEY"]
|
9 |
+
#api_key = 'sk-api-NTwb26YCf5prxxfEXP0GT3BlbkFJMyqibpALZQBxqxks1uQ0'
|
10 |
print(api_key)
|
11 |
api_base=''#os.environ["OPENAI_API_BASE"]
|
12 |
pdf_dir = "D:\\BaiduNetdiskDownload\\papers_all"
|