diff --git a/play.py b/play.py index 903ecb4..bd777fd 100644 --- a/play.py +++ b/play.py @@ -38,7 +38,7 @@ def play_aidungeon_2(): else: upload_story = True - print("Initializing AI Dungeon! (This might take a few minutes)") + print("\nInitializing AI Dungeon! (This might take a few minutes)\n") generator = GPT2Generator() story_manager = UnconstrainedStoryManager(generator) print("\n\n\n\n") diff --git a/story/story_manager.py b/story/story_manager.py index d4ac1d3..dc9ca9d 100644 --- a/story/story_manager.py +++ b/story/story_manager.py @@ -95,7 +95,7 @@ class Story(): f = open(file_name, "w") f.write(story_json) f.close() - p = Popen(['gsutil', 'cp', file_name, 'aidungeon2stories']) + p = Popen(['gsutil', 'cp', file_name, 'aidungeon2stories', ">", "/dev/null"]) class StoryManager():