added telemetry

This commit is contained in:
Nick Walton
2019-11-19 14:04:58 -07:00
parent 378829cd4c
commit b2d8e13ebd
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -32,17 +32,17 @@ def instructions():
def play_aidungeon_2():
print("Initializing AI Dungeon! (This might take a few minutes)")
generator = GPT2Generator()
story_manager = UnconstrainedStoryManager(generator)
print("\n\n\n\n")
save_story = input("Help improve AIDungeon by enabling story saving? (Y/n) ")
if save_story.lower() in ["no", "No", "n"]:
upload_story = True
else:
upload_story = True
print("Initializing AI Dungeon! (This might take a few minutes)")
generator = GPT2Generator()
story_manager = UnconstrainedStoryManager(generator)
print("\n\n\n\n")
with open('opening.txt', 'r') as file:
starter = file.read()
print(starter)
+1 -1
View File
@@ -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'])
class StoryManager():