heysho commited on
Commit
2c22316
1 Parent(s): 71c67e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import openai
3
 
4
  # Constants
5
  AI_MODEL = "gpt-4o"
6
- TOKEN_COUNT = 4096
7
  MAX_USES = 3
8
 
9
  # Set the page title and favicon
@@ -32,7 +32,7 @@ def generate_reminder(language, feeling, reason, plan):
32
  - Feeling: {feeling}.
33
  - Reason for the feeling: {reason}.
34
  - Plan for the day: {plan}.
35
- - Explain within 100 words in English, or 300 charactors in Japanese.
36
  """
37
  with st.spinner('Generating your daily reminder...'):
38
  response = openai.ChatCompletion.create(
 
3
 
4
  # Constants
5
  AI_MODEL = "gpt-4o"
6
+ TOKEN_COUNT = 2000
7
  MAX_USES = 3
8
 
9
  # Set the page title and favicon
 
32
  - Feeling: {feeling}.
33
  - Reason for the feeling: {reason}.
34
  - Plan for the day: {plan}.
35
+ - Explain within 100 words in English, or 200 charactors in Japanese.
36
  """
37
  with st.spinner('Generating your daily reminder...'):
38
  response = openai.ChatCompletion.create(