Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -895,7 +895,7 @@ async def chatgpt_customs(
|
|
895 |
):
|
896 |
try:
|
897 |
GPTbase = "https://gpt-api.mycloud.im/v1"
|
898 |
-
x = OpenAI(
|
899 |
answer = await x.api_chat(query=item.query, model=item.model)
|
900 |
return SuccessResponse(
|
901 |
status="True",
|
|
|
895 |
):
|
896 |
try:
|
897 |
GPTbase = "https://gpt-api.mycloud.im/v1"
|
898 |
+
x = OpenAI(api_base=GPTbase)
|
899 |
answer = await x.api_chat(query=item.query, model=item.model)
|
900 |
return SuccessResponse(
|
901 |
status="True",
|