henk717
fcc210898f
Revert to Python 3.8
...
tensorflow-base doesn't like the older cudatoolkit anymore. The one for python 3.8 still does, so lets just stick to that for now then.
2021-09-16 01:18:04 +02:00
henk717
03501a4c8c
Dependency Fixes
...
Looks like cudatoolkit is now shipping 11.3, but pytorch has no version for this resulting in an installation of the CPU only version. This is going to lead to people unable to get their GPU running, so for now we force the recommended 11.1 version. I also don't see any harm in allowing Python 3.9 so thats now the default as well to prevent future issues.
2021-09-16 01:07:43 +02:00
henk717
9ddab39266
Make pin more visible
...
If its invisible then it will be harder for new players to know its there. Now its less visible when its not selected, a little more visible when the box is selected, and fully visible when your hovering over.
2021-09-08 15:11:28 +02:00
henk717
85a01c2b7d
Fix install_requirements.bat
...
Now properly supports running as admin on partitions that are not the system partition.
2021-09-08 13:45:10 +02:00
henk717
8fc5baa94b
Cleanup
2021-09-02 17:33:58 +02:00
henk717
41ec01f654
Additional batch scripts
...
Can't hurt to have these, it allows users to more easily access both the runtime and the remote play functionality. (I also frequently create these myself for developing).
2021-09-02 17:12:14 +02:00
henk717
cde965209b
Update readme.md
...
Changed The Gantian's description to better reflect his importance to the project.
2021-09-02 14:09:21 +02:00
henk717
6668bada47
New documentation
...
Replaces the placeholder readme with a proper one, the menu is also updated and reorganized to encourage users to use custom models and to better reflect the real world VRAM requirements.
2021-09-02 14:04:25 +02:00
henk717
aace0d058f
Merge pull request #15 from VE-FORBRYDERNE/story-manager
...
In-browser story management patch
2021-09-02 11:53:24 +02:00
Gnome Ann
34af94d760
Fix deselected stories in Load dialog not un-highlighting
2021-09-01 14:21:07 -04:00
Gnome Ann
7e896c98fe
Move #newsavename keydown event handler
2021-09-01 14:12:12 -04:00
Gnome Ann
24d57a7ac3
Clip off ".json" from story name when downloading
2021-09-01 14:07:56 -04:00
Gnome Ann
7e1b1add11
Don't import breakmodel until it's actually needed
...
breakmodel imports torch which takes a long time to import.
We should delay the importing of torch as long as possible.
2021-09-01 14:04:37 -04:00
Gnome Ann
f1633d3e5c
Prevent scope leakage of some variables in application.js
2021-09-01 14:01:04 -04:00
Gnome Ann
6bd6415749
Prevent remote-mode-forbidden actions server-side
...
Since some user interface buttons are disabled while in --remote mode,
they should also be disabled in aiserver.py so a malicious user can't
manually send those commands to the server.
2021-09-01 13:55:25 -04:00
Gnome Ann
8ae9304cda
Clean up code for saving story as plaintext
2021-09-01 13:49:04 -04:00
Gnome Ann
543acf9ba4
Also allow downloading stories as plaintext
2021-09-01 13:46:37 -04:00
Gnome Ann
fab51b64a3
Don't leave memory mode when downloading
2021-09-01 13:36:05 -04:00
Gnome Ann
25bb6486eb
Add an option under "Save" to download story (as JSON)
2021-09-01 13:32:11 -04:00
Gnome Ann
b5d9aaf785
Remember to actually import "Response" from flask
2021-09-01 13:31:05 -04:00
Gnome Ann
4e9b371564
Merge branch 'united' into story-manager
2021-09-01 13:25:28 -04:00
Gnome Ann
cb446d2113
Copy the event handlers from "Save As" to the Rename dialog
2021-09-01 13:10:21 -04:00
Gnome Ann
556835cd34
Move some of the delete/rename dialog event handlers
2021-09-01 13:05:24 -04:00
Gnome Ann
16184ceee8
Catch and display errors from "Save As"
2021-09-01 12:58:01 -04:00
Gnome Ann
e31640a89d
Remove unused "import string" from fileops.py
2021-09-01 12:26:08 -04:00
henk717
4151fd1b6a
Save story in plain text along the save
...
Not just saving in .json but also in plain text, should help story writers get their stories out more easily. Especially since they can technically add some markdown into their stories manually in the interface.
2021-09-01 17:41:18 +02:00
henk717
9b3e298089
Foundation for in browser downloading
...
This adds /download as a URL to immediately download the file, this will allow html changes that initiate a file download.
2021-09-01 15:58:56 +02:00
henk717
55059bddcf
Merge pull request #14 from VE-FORBRYDERNE/united
...
Add Open Font License to Open Iconic's CSS file
2021-09-01 00:32:22 +02:00
Gnome Ann
c276220a35
Allow deleting and renaming stories in the browser
2021-08-31 18:22:30 -04:00
Gnome Ann
db284b2367
Add Open Font License to Open Iconic's CSS file
2021-08-31 16:03:11 -04:00
henk717
03a4da0ade
Merge pull request #12 from VE-FORBRYDERNE/breakmodel
...
Fix for when breakmodel layers is 0
2021-08-29 02:26:56 +02:00
henk717
9f0e50db68
Merge pull request #13 from VE-FORBRYDERNE/united
...
Fix error when you use "Add sentence spacing"
2021-08-29 02:26:37 +02:00
Gnome Ann
2f4f7ac92a
Fix error when you use "Add sentence spacing"
2021-08-28 18:54:10 -04:00
Gnome Ann
b5c28f4e07
Fix for when breakmodel layers is 0
2021-08-28 02:19:51 -04:00
henk717
8b175df26e
Merge pull request #11 from VE-FORBRYDERNE/united
...
Remove typing.Literal (a Python 3.8+ feature)
2021-08-26 21:40:42 +02:00
Gnome Ann
63a4048053
Remove typing.Literal (a Python 3.8+ feature)
2021-08-26 15:38:58 -04:00
henk717
36d5f249b7
Merge pull request #10 from VE-FORBRYDERNE/big-o
...
A fix for world info keyword scanning which I broke in the previous pull request, and more triggers for scrolling to bottom
2021-08-26 21:35:22 +02:00
Gnome Ann
0fbf620f22
Added scroll-to-bottom for closing genseqs/W Info
...
Scroll time is halved now also.
2021-08-26 15:15:42 -04:00
Gnome Ann
75c68c2b78
Fix world info depth being ignored
2021-08-26 12:50:17 -04:00
henk717
829d309abd
Merge pull request #9 from VE-FORBRYDERNE/big-o
...
Optimization for very large stories
2021-08-26 11:06:20 +02:00
Gnome Ann
d7605a717b
Merge branch 'united' into big-o
...
This resolves two merge conflicts that arose because this branch was
a few commits behind.
2021-08-26 01:37:40 -04:00
Gnome Ann
6a0299837c
Make the green editing flash !important
2021-08-26 01:22:07 -04:00
Gnome Ann
8fd8612cca
Adventure mode colouring now controlled by a CSS class
...
So that we can just toggle the class instead of having aiserver.py send
back the entire story.
2021-08-26 01:06:57 -04:00
Gnome Ann
27c7baab92
Prevent some errors when the prompt is the only chunk
2021-08-25 23:58:12 -04:00
Gnome Ann
b0d64985bb
Fix Retry and Back buttons popping the wrong chunk
2021-08-25 19:56:57 -04:00
henk717
bbd5bd0cd7
Merge pull request #8 from VE-FORBRYDERNE/misc
...
General usability fixes
2021-08-26 01:56:42 +02:00
Gnome Ann
796f5ffd05
Make vars.actions a dictionary instead of a list
2021-08-25 19:28:26 -04:00
Gnome Ann
5604d7f317
Replace non-breaking spaces with regular spaces
2021-08-25 19:25:57 -04:00
Gnome Ann
5603bf0584
Hide messages on updatechunk and removechunk
2021-08-25 19:22:35 -04:00
Gnome Ann
6dcd7888c8
Change "recieved" to "received"
2021-08-25 14:55:26 -04:00