diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md
new file mode 100644
index 0000000..41f951d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.md
@@ -0,0 +1,29 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: "[BUG] "
+labels: bug
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Additional context**
+- OS, environment
+- Game settings
+- Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md
new file mode 100644
index 0000000..8403b86
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.md
@@ -0,0 +1,20 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: "[FEATURE] "
+labels: enhancement
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000..8403b86
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,20 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: "[FEATURE] "
+labels: enhancement
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/AIDungeon_2.ipynb b/AIDungeon_2.ipynb
index 4a53e1d..49c66a1 100644
--- a/AIDungeon_2.ipynb
+++ b/AIDungeon_2.ipynb
@@ -27,22 +27,23 @@
"> AI Dungeon 2 is a completely AI generated text adventure built with OpenAI's largest GPT-2 model. It's a first of it's kind game that allows you to enter and will react to any action you can imagine.\n",
"\n",
"# Main mirrors of AI Dungeon 2 are currently down due to high download costs.\n",
- "We are using bittorrent as a temporary solution to host game files and keep this game alive. It's not fast, but it's the best we've got right now.\n\n",
- "If you want to help, best thing you can do is to **[download this torrent file with game files](https://github.com/nickwalton/AIDungeon/files/3935881/model_v5.torrent.zip)** and **seed it** indefinitely to the best of your ability. This will help new players download this game faster, and discover the vast worlds of AIDungeon2!\n\n",
- "- on twitter for updates on when it will be available again.\n",
- "- **[Support AI Dungeon 2 on Patreon to help get it back up!](https://www.patreon.com/posts/update-32193930)**\n",
+ "We are using bittorrent as a temporary solution to host game files and keep this game alive. It's not fast, but it's the best we've got right now.\n",
+ "\n",
+ "If you want to help, best thing you can do is to **[download this torrent file with game files](https://github.com/nickwalton/AIDungeon/files/3935881/model_v5.torrent.zip)** and **seed it** indefinitely to the best of your ability. This will help new players download this game faster, and discover the vast worlds of AIDungeon2!\n",
+ "\n",
+ "- on Twitter for updates on when it will be available again.\n",
+ "- **[Support AI Dungeon 2](https://www.patreon.com/posts/update-32193930) on Patreon**\n",
"\n",
"## How to play\n",
"1. Click \"Tools\"-> \"Settings...\" -> \"Theme\" -> \"Dark\" (optional but recommended)\n",
"2. Click \"Runtime\" -> \"Run all\"\n",
"3. Wait until all files are downloaded (only has to be one once, and it will take some time)\n",
"4. It will then take a couple minutes to boot up as the model is downloaded loaded onto the GPU. \n",
+ "5. If you have questions about getting it to work then please [go to github repo](https://github.com/AIDungeon/AIDungeon) to get help. \n",
"\n",
"## About\n",
"* While you wait you can [read adventures others have had](https://aidungeon.io/)\n",
- "* [Read more](https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infinitely-generated-text-adventures-with-deep-learning-language-models/) about how AI Dungeon 2 is made.\n",
- "\n",
- "* Please [support AI Dungeon 2](https://www.patreon.com/join/AIDungeon/) to help get it back up."
+ "* [Read more](https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infinitely-generated-text-adventures-with-deep-learning-language-models/) about how AI Dungeon 2 is made."
]
},
{
@@ -79,4 +80,4 @@
"outputs": []
}
]
-}
+}
\ No newline at end of file
diff --git a/README.md b/README.md
index e2eb78f..f94b43d 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ To play the game locally, it is recommended that you have an nVidia GPU with 12
git clone https://github.com/AIDungeon/AIDungeon/
cd AIDungeon
./install.sh
-python play.py
+python3 play.py
```
diff --git a/play.py b/play.py
index aa4c79e..ab0b677 100644
--- a/play.py
+++ b/play.py
@@ -1,7 +1,6 @@
from story.story_manager import *
from generator.gpt2.gpt2_generator import *
from story.utils import *
-from termios import tcflush, TCIFLUSH
import time, sys, os
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
@@ -113,7 +112,7 @@ def play_aidungeon_2():
print(result)
while True:
- tcflush(sys.stdin, TCIFLUSH)
+ sys.stdin.flush()
action = input("> ")
if action == "restart":
rating = input("Please rate the story quality from 1-10: ")
diff --git a/play_dm.py b/play_dm.py
index abcacd1..59758e2 100644
--- a/play_dm.py
+++ b/play_dm.py
@@ -2,7 +2,6 @@ from story.story_manager import *
from generator.human_dm import *
from generator.gpt2.gpt2_generator import *
from story.utils import *
-from termios import tcflush, TCIFLUSH
from play import *
import time, sys, os
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"