Lyte commited on
Commit
7b100ff
·
verified ·
1 Parent(s): 69e4ebb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -346,7 +346,7 @@ def create_interface():
346
 
347
  # NEW FORMAT: Use the new game state formatting
348
  game_state = game.format_game_state()
349
- print("Sending game state to model:")
350
  print(game_state)
351
 
352
  # Get AI response
@@ -355,9 +355,9 @@ def create_interface():
355
  {"role": "system", "content": SYSTEM_PROMPT},
356
  {"role": "user", "content": game_state}
357
  ],
358
- temperature=0.8,
359
  top_p=0.95,
360
- max_tokens=2048
361
  )
362
 
363
  ai_response = response['choices'][0]['message']['content']
 
346
 
347
  # NEW FORMAT: Use the new game state formatting
348
  game_state = game.format_game_state()
349
+ #print("Sending game state to model:")
350
  print(game_state)
351
 
352
  # Get AI response
 
355
  {"role": "system", "content": SYSTEM_PROMPT},
356
  {"role": "user", "content": game_state}
357
  ],
358
+ temperature=0.6,
359
  top_p=0.95,
360
+ max_tokens=1024
361
  )
362
 
363
  ai_response = response['choices'][0]['message']['content']