Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
7379211
1
Parent(s):
2e5b5a1
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ class SentimentAnalyzer:
|
|
27 |
response = openai.Completion.create(
|
28 |
model="text-davinci-003",
|
29 |
prompt=prompt,
|
30 |
-
temperature=
|
31 |
max_tokens=60,
|
32 |
top_p=1,
|
33 |
frequency_penalty=0,
|
@@ -44,7 +44,7 @@ class SentimentAnalyzer:
|
|
44 |
response = openai.Completion.create(
|
45 |
model="text-davinci-003",
|
46 |
prompt=prompt,
|
47 |
-
temperature=
|
48 |
max_tokens=60,
|
49 |
top_p=1,
|
50 |
frequency_penalty=0,
|
|
|
27 |
response = openai.Completion.create(
|
28 |
model="text-davinci-003",
|
29 |
prompt=prompt,
|
30 |
+
temperature=0,
|
31 |
max_tokens=60,
|
32 |
top_p=1,
|
33 |
frequency_penalty=0,
|
|
|
44 |
response = openai.Completion.create(
|
45 |
model="text-davinci-003",
|
46 |
prompt=prompt,
|
47 |
+
temperature=0,
|
48 |
max_tokens=60,
|
49 |
top_p=1,
|
50 |
frequency_penalty=0,
|