Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def function(Textbox,Textbox2):
|
|
11 |
if Textbox2 == target:
|
12 |
payload = {
|
13 |
"model": "gpt-3.5-turbo",
|
14 |
-
"messages": [{"role": "system", "content": content},{"role": "user", "content":
|
15 |
"temperature" : 1.0,
|
16 |
"top_p":1.0,
|
17 |
"n" : 1,
|
|
|
11 |
if Textbox2 == target:
|
12 |
payload = {
|
13 |
"model": "gpt-3.5-turbo",
|
14 |
+
"messages": [{"role": "system", "content": content},{"role": "user", "content": Textbox}],
|
15 |
"temperature" : 1.0,
|
16 |
"top_p":1.0,
|
17 |
"n" : 1,
|