tsi-org commited on
Commit
f27d082
1 Parent(s): b4fbd3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def frames_to_story(base64Frames, prompt, api_key):
84
  "messages": PROMPT_MESSAGES,
85
  "api_key": api_key,
86
  "headers": {"Openai-Version": "2020-11-07"},
87
- "max_tokens": 2000,
88
  }
89
  result = openai.ChatCompletion.create(**params)
90
  return result.choices[0].message.content
 
84
  "messages": PROMPT_MESSAGES,
85
  "api_key": api_key,
86
  "headers": {"Openai-Version": "2020-11-07"},
87
+ "max_tokens": 4000,
88
  }
89
  result = openai.ChatCompletion.create(**params)
90
  return result.choices[0].message.content