Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def function(Textbox,Textbox2, Textbox3):
|
|
155 |
headers = {
|
156 |
"Authorization": f"Bearer {auth_key}"
|
157 |
}
|
158 |
-
response = requests.post(
|
159 |
"messages": messages,
|
160 |
"model":"gpt-3.5-turbo"
|
161 |
}).json()
|
|
|
155 |
headers = {
|
156 |
"Authorization": f"Bearer {auth_key}"
|
157 |
}
|
158 |
+
response = requests.post(target2, headers=headers, json={
|
159 |
"messages": messages,
|
160 |
"model":"gpt-3.5-turbo"
|
161 |
}).json()
|