mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
added telemetry
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user