DiningSystem commited on
Commit
80ee64d
1 Parent(s): 78c899f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ def write_essay(prompt, context, temperature, frequency_penalty, presence_penalt
21
  model=model,
22
  messages=[{"role": "system", "content": new_prompt2},
23
  {"role": "user", "content": new_prompt},],
 
24
  max_tokens=250,
25
  temperature=temperature,
26
  frequency_penalty=frequency_penalty,
 
21
  model=model,
22
  messages=[{"role": "system", "content": new_prompt2},
23
  {"role": "user", "content": new_prompt},],
24
+ stream=True,
25
  max_tokens=250,
26
  temperature=temperature,
27
  frequency_penalty=frequency_penalty,