changed seed num, added warning

This commit is contained in:
Nick
2019-04-16 14:40:47 -06:00
parent 0c38dc9ffe
commit f16fd195be
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ def story_request():
prompt_num = int(request.form["prompt_num"])
gen_actions = request.form["actions"]
if int(seed) < 0 or int(seed) > 1000:
if int(seed) < 0 or int(seed) > 100:
print("Invalid seed: " + seed)
abort(404)
+2
View File
@@ -19,6 +19,8 @@
<br><br> As you can probably tell there's still a ways to go before AI will be your group's dungeon master, but even after running hundreds of adventures it still manages to surprise me in interesting ways. I've had a lot of fun making this and hope you enjoy it too.
<br><br> Warning: The GPT-2 model was trained on a huge amount of internet text so there might be offensive content.
<br><br> If you want to contact me about suggested improvements, comments, etc... feel free to email me about them at aidungeon.io@gmail.com.
<br><br> AI Dungeon was created by Nick Walton with the support of the <a href="https://pcc.cs.byu.edu/">BYU Percepton Cognition and Control Lab</a>, Alan Walton and Max Robinson.