sergiomar73
commited on
Commit
•
5455d50
1
Parent(s):
9a635c6
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def classificate_with_gpt3(text, labels, engine="text-similarity-davinci-001"):
|
|
16 |
prompt=prompt,
|
17 |
temperature=0.7,
|
18 |
max_tokens=10,
|
19 |
-
stop
|
20 |
top_p=1,
|
21 |
frequency_penalty=0,
|
22 |
presence_penalty=0
|
|
|
16 |
prompt=prompt,
|
17 |
temperature=0.7,
|
18 |
max_tokens=10,
|
19 |
+
stop=["\n"],
|
20 |
top_p=1,
|
21 |
frequency_penalty=0,
|
22 |
presence_penalty=0
|