mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
import itertools
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ def play(generator):
|
||||
action_suggestion_lines = 1
|
||||
for i in range(settings.getint('action-alternatives')):
|
||||
# FIXME it might be better to pass in a longer history
|
||||
story_manager.story_context() # This should be within the loop as it has a random sampling element
|
||||
action_prompt = story_manager.story_context() # This should be within the loop as it has a random sampling element
|
||||
action_prompt[-1] += '> '
|
||||
logger.debug("action_prompt %s", action_prompt)
|
||||
suggested_action = ai_player.get_action(action_prompt)
|
||||
|
||||
Reference in New Issue
Block a user