Spaces:
Runtime error
Runtime error
Commit
·
91afb34
1
Parent(s):
a6b2feb
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ def generate_hashtags(input):
|
|
14 |
response = co.generate(
|
15 |
model='large',
|
16 |
prompt="This program will take a sentence as input and reframe it with positive and growth mindset.\n\n--\nInput: I have a lot of work to do today.\nOutput: I have a lot of work to do today. It's better for me to make a list and break it down into smaller chunks and finish them off one by one.\n--\nInput: I am barely able to lift 10 pound weights.\nOutput: I should exercise more consistently and gradually increase my weight limit. I should also try eating healthy foods.\n--\nInput:{}\nOutput:".format(input),
|
17 |
-
max_tokens=
|
18 |
-
temperature=0.
|
19 |
k=0,
|
20 |
p=1,
|
21 |
frequency_penalty=0,
|
|
|
14 |
response = co.generate(
|
15 |
model='large',
|
16 |
prompt="This program will take a sentence as input and reframe it with positive and growth mindset.\n\n--\nInput: I have a lot of work to do today.\nOutput: I have a lot of work to do today. It's better for me to make a list and break it down into smaller chunks and finish them off one by one.\n--\nInput: I am barely able to lift 10 pound weights.\nOutput: I should exercise more consistently and gradually increase my weight limit. I should also try eating healthy foods.\n--\nInput:{}\nOutput:".format(input),
|
17 |
+
max_tokens=100,
|
18 |
+
temperature=0.8,
|
19 |
k=0,
|
20 |
p=1,
|
21 |
frequency_penalty=0,
|