projekt-rising-ai commited on
Commit
8044b4d
·
1 Parent(s): 4f1da34

Added cap to talking head output length

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,11 +49,11 @@ TOOLS_DEFAULT_LIST = []
49
  BUG_FOUND_MSG = "Congratulations, you've found a bug in this application!"
50
  # AUTH_ERR_MSG = "Please paste your OpenAI key from openai.com to use this application. It is not necessary to hit a button or key after pasting it."
51
  AUTH_ERR_MSG = "Please paste your OpenAI key from openai.com to use this application. "
52
- MAX_TOKENS = 155
53
 
54
  LOOPING_TALKING_HEAD = "videos/Marc.mp4"
55
  TALKING_HEAD_WIDTH = "192"
56
- MAX_TALKING_HEAD_TEXT_LENGTH = 1000
57
 
58
  # Pertains to Express-inator functionality
59
  NUM_WORDS_DEFAULT = 0
 
49
  BUG_FOUND_MSG = "Congratulations, you've found a bug in this application!"
50
  # AUTH_ERR_MSG = "Please paste your OpenAI key from openai.com to use this application. It is not necessary to hit a button or key after pasting it."
51
  AUTH_ERR_MSG = "Please paste your OpenAI key from openai.com to use this application. "
52
+ MAX_TOKENS = 512
53
 
54
  LOOPING_TALKING_HEAD = "videos/Marc.mp4"
55
  TALKING_HEAD_WIDTH = "192"
56
+ MAX_TALKING_HEAD_TEXT_LENGTH = 155
57
 
58
  # Pertains to Express-inator functionality
59
  NUM_WORDS_DEFAULT = 0