Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ logging.basicConfig(level=logging.INFO,
|
|
16 |
format='%(asctime)s - %(levelname)s - %(message)s')
|
17 |
|
18 |
API_ENDPOINT = "https://api-st.siliconflow.cn/v1/user/info"
|
19 |
-
TEST_MODEL_ENDPOINT = "https://api
|
20 |
MODELS_ENDPOINT = "https://api.openai.com/v1/models"
|
21 |
EMBEDDINGS_ENDPOINT = "https://api-st.siliconflow.cn/v1/embeddings"
|
22 |
IMAGE_ENDPOINT = "https://api-st.siliconflow.cn/v1/images/generations"
|
|
|
16 |
format='%(asctime)s - %(levelname)s - %(message)s')
|
17 |
|
18 |
API_ENDPOINT = "https://api-st.siliconflow.cn/v1/user/info"
|
19 |
+
TEST_MODEL_ENDPOINT = "https://api.openai.com/v1/chat/completions"
|
20 |
MODELS_ENDPOINT = "https://api.openai.com/v1/models"
|
21 |
EMBEDDINGS_ENDPOINT = "https://api-st.siliconflow.cn/v1/embeddings"
|
22 |
IMAGE_ENDPOINT = "https://api-st.siliconflow.cn/v1/images/generations"
|