Improve CLI

This commit is contained in:
Andras Schmelczer 2022-07-08 13:38:26 +02:00
parent b2b7332b52
commit c06862ab76
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
2 changed files with 8 additions and 1 deletions

View file

@ -201,6 +201,11 @@ class GreatAIReload(BaseReload):
def main() -> None:
import os
import sys
sys.path.append(os.getcwd())
try:
serve()
except KeyboardInterrupt: