Clemylia commited on
Commit
6fa5d5e
·
verified ·
1 Parent(s): 222b612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,7 +45,7 @@ class CharlottePoeBot(PoeBot):
45
  **inputs,
46
  max_new_tokens=100,
47
  do_sample=True,
48
- temperature=0.6,
49
  pad_token_id=tokenizer.eos_token_id
50
  )
51
 
@@ -57,8 +57,8 @@ class CharlottePoeBot(PoeBot):
57
 
58
  # --- CREATION DE L'APPLICATION ---
59
  bot = CharlottePoeBot()
60
- # On crée l'application FastAPI compatible Poe
61
- app = make_app(bot, allow_disabling_authentication=True)
62
 
63
  # --- LANCEMENT DU SERVEUR ---
64
  if __name__ == "__main__":
 
45
  **inputs,
46
  max_new_tokens=100,
47
  do_sample=True,
48
+ temperature=0.8,
49
  pad_token_id=tokenizer.eos_token_id
50
  )
51
 
 
57
 
58
  # --- CREATION DE L'APPLICATION ---
59
  bot = CharlottePoeBot()
60
+ # Correction ici : on enlève l'argument obsolète
61
+ app = make_app(bot)
62
 
63
  # --- LANCEMENT DU SERVEUR ---
64
  if __name__ == "__main__":