Spaces:
Running
Running
Update turbowarp-server/gpt.py
Browse files- turbowarp-server/gpt.py +1 -1
turbowarp-server/gpt.py
CHANGED
|
@@ -95,7 +95,7 @@ def remove_used(i):
|
|
| 95 |
def ask_gpt(history):
|
| 96 |
messages = [SYSTEM_PROMPT] + history
|
| 97 |
r = requests.post(
|
| 98 |
-
"https://izuemon-
|
| 99 |
json={
|
| 100 |
"model": "gpt-3.5-turbo",
|
| 101 |
"messages": messages
|
|
|
|
| 95 |
def ask_gpt(history):
|
| 96 |
messages = [SYSTEM_PROMPT] + history
|
| 97 |
r = requests.post(
|
| 98 |
+
"https://izuemon-g4f-api3.hf.space/v1/chat/completions",
|
| 99 |
json={
|
| 100 |
"model": "gpt-3.5-turbo",
|
| 101 |
"messages": messages
|