Spaces:
Sleeping
Sleeping
Commit
•
7e18735
1
Parent(s):
584f6f4
Update main.py
Browse files
main.py
CHANGED
@@ -6,9 +6,9 @@ from scipy import spatial
|
|
6 |
from flask_cors import CORS
|
7 |
import random
|
8 |
|
9 |
-
url = "https://gptlesson1.oss-cn-beijing.aliyuncs.com/
|
10 |
response = requests.get(url)
|
11 |
-
apiKeys = response.json()
|
12 |
|
13 |
with open("embeddingData.json", "r", encoding="utf-8") as f:
|
14 |
df = json.load(f)
|
|
|
6 |
from flask_cors import CORS
|
7 |
import random
|
8 |
|
9 |
+
url = "https://gptlesson1.oss-cn-beijing.aliyuncs.com/apiKeys.json"
|
10 |
response = requests.get(url)
|
11 |
+
apiKeys = response.json()
|
12 |
|
13 |
with open("embeddingData.json", "r", encoding="utf-8") as f:
|
14 |
df = json.load(f)
|