mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-10 11:40:48 +08:00
update
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ def play_constrained():
|
||||
generator = CTRLGenerator()
|
||||
prompt = get_story_start("apocalypse")
|
||||
context = get_context("apocalypse")
|
||||
story_manager = ConstrainedStoryManager(generator)
|
||||
story_manager = CTRLStoryManager(generator)
|
||||
story_manager.start_new_story(prompt, context=context)
|
||||
|
||||
possible_actions = story_manager.get_possible_actions()
|
||||
|
||||
@@ -210,7 +210,7 @@ class CTRLStoryManager(ConstrainedStoryManager):
|
||||
|
||||
def get_action_results_generate(self):
|
||||
results = []
|
||||
options = {}
|
||||
options = {"word_blacklist":[]}
|
||||
for phrase in self.action_phrases:
|
||||
result = self.generate_action_result(self.story_context(), phrase, options=options)
|
||||
action_verb = result[0].split()
|
||||
|
||||
Reference in New Issue
Block a user