YoBatM commited on
Commit
a0f1373
·
verified ·
1 Parent(s): 00973d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ def reply(msg,history):
53
  historias.append({"role":"user","content":msg})
54
  m=client.chat_completion(
55
  messages=historias,
56
- max_tokens=500,
57
  stream=False,
58
  seed=randint(100_000_000,999_999_999)
59
  )
@@ -76,7 +76,7 @@ def set_theme(theme):
76
  historias.append({"role":'user',"content":f"Tema: {theme}"})
77
  m=client.chat_completion(
78
  messages=historias,
79
- max_tokens=500,
80
  stream=False,
81
  seed=randint(100_000_000,999_999_999)
82
  )
 
53
  historias.append({"role":"user","content":msg})
54
  m=client.chat_completion(
55
  messages=historias,
56
+ max_tokens=1024,
57
  stream=False,
58
  seed=randint(100_000_000,999_999_999)
59
  )
 
76
  historias.append({"role":'user',"content":f"Tema: {theme}"})
77
  m=client.chat_completion(
78
  messages=historias,
79
+ max_tokens=1024,
80
  stream=False,
81
  seed=randint(100_000_000,999_999_999)
82
  )