Browse Source

renames fabric folder into fabric_installer

pull/88/head
agu3rra 9 months ago
parent
commit
2b48e564f1
  1. 0
      fabric_installer/__init__.py
  2. 0
      fabric_installer/client/cli/README.md
  3. 0
      fabric_installer/client/cli/__init__.py
  4. 0
      fabric_installer/client/cli/fabric.py
  5. 0
      fabric_installer/client/cli/p.py
  6. 0
      fabric_installer/client/cli/utils.py
  7. 0
      fabric_installer/client/gui/.gitignore
  8. 0
      fabric_installer/client/gui/README.md
  9. 0
      fabric_installer/client/gui/chatgpt.js
  10. 0
      fabric_installer/client/gui/index.html
  11. 0
      fabric_installer/client/gui/main.js
  12. 0
      fabric_installer/client/gui/package-lock.json
  13. 0
      fabric_installer/client/gui/package.json
  14. 0
      fabric_installer/client/gui/preload.js
  15. 0
      fabric_installer/client/gui/static/images/fabric-logo-gif.gif
  16. 0
      fabric_installer/client/gui/static/js/bootstrap.min.js
  17. 0
      fabric_installer/client/gui/static/js/index.js
  18. 0
      fabric_installer/client/gui/static/js/jquery-3.0.0.slim.min.js
  19. 0
      fabric_installer/client/gui/static/stylesheet/bootstrap.min.css
  20. 0
      fabric_installer/client/gui/static/stylesheet/style.css
  21. 0
      fabric_installer/server/__init__.py
  22. 0
      fabric_installer/server/api/.env.example
  23. 0
      fabric_installer/server/api/__init__.py
  24. 0
      fabric_installer/server/api/fabric_api_keys.json
  25. 4
      fabric_installer/server/api/fabric_api_server.py
  26. 0
      fabric_installer/server/api/users.json
  27. 0
      fabric_installer/server/webui/__init__.py
  28. 0
      fabric_installer/server/webui/fabric-logo-miessler-transparent.png
  29. 0
      fabric_installer/server/webui/fabric_web_interface_keys.json
  30. 0
      fabric_installer/server/webui/fabric_web_server.py
  31. 0
      fabric_installer/server/webui/favicon.ico
  32. 0
      fabric_installer/server/webui/static/fabric-logo-miessler-transparent.png
  33. 0
      fabric_installer/server/webui/static/favicon.ico
  34. 0
      fabric_installer/server/webui/templates/index.html
  35. 8
      pyproject.toml

0
fabric/__init__.py → fabric_installer/__init__.py

0
fabric/client/cli/README.md → fabric_installer/client/cli/README.md

0
fabric/client/cli/__init__.py → fabric_installer/client/cli/__init__.py

0
fabric/client/cli/fabric.py → fabric_installer/client/cli/fabric.py

0
fabric/client/cli/p.py → fabric_installer/client/cli/p.py

0
fabric/client/cli/utils.py → fabric_installer/client/cli/utils.py

0
fabric/client/gui/.gitignore → fabric_installer/client/gui/.gitignore vendored

0
fabric/client/gui/README.md → fabric_installer/client/gui/README.md

0
fabric/client/gui/chatgpt.js → fabric_installer/client/gui/chatgpt.js

0
fabric/client/gui/index.html → fabric_installer/client/gui/index.html

0
fabric/client/gui/main.js → fabric_installer/client/gui/main.js

0
fabric/client/gui/package-lock.json → fabric_installer/client/gui/package-lock.json generated

0
fabric/client/gui/package.json → fabric_installer/client/gui/package.json

0
fabric/client/gui/preload.js → fabric_installer/client/gui/preload.js

0
fabric/client/gui/static/images/fabric-logo-gif.gif → fabric_installer/client/gui/static/images/fabric-logo-gif.gif

Before

Width:  |  Height:  |  Size: 42 MiB

After

Width:  |  Height:  |  Size: 42 MiB

0
fabric/client/gui/static/js/bootstrap.min.js → fabric_installer/client/gui/static/js/bootstrap.min.js vendored

0
fabric/client/gui/static/js/index.js → fabric_installer/client/gui/static/js/index.js

0
fabric/client/gui/static/js/jquery-3.0.0.slim.min.js → fabric_installer/client/gui/static/js/jquery-3.0.0.slim.min.js vendored

0
fabric/client/gui/static/stylesheet/bootstrap.min.css → fabric_installer/client/gui/static/stylesheet/bootstrap.min.css vendored

0
fabric/client/gui/static/stylesheet/style.css → fabric_installer/client/gui/static/stylesheet/style.css

0
fabric/server/__init__.py → fabric_installer/server/__init__.py

0
fabric/server/api/.env.example → fabric_installer/server/api/.env.example

0
fabric/server/api/__init__.py → fabric_installer/server/api/__init__.py

0
fabric/server/api/fabric_api_keys.json → fabric_installer/server/api/fabric_api_keys.json

4
fabric/server/api/fabric_api_server.py → fabric_installer/server/api/fabric_api_server.py

@ -45,12 +45,12 @@ client = openai.OpenAI(api_key = openai.api_key)
# Read API tokens from the apikeys.json file # Read API tokens from the apikeys.json file
api_keys = resources.read_text("fabric.server.api", "fabric_api_keys.json") api_keys = resources.read_text("fabric_installer.server.api", "fabric_api_keys.json")
valid_tokens = json.loads(api_keys) valid_tokens = json.loads(api_keys)
# Read users from the users.json file # Read users from the users.json file
users = resources.read_text("fabric.server.api", "users.json") users = resources.read_text("fabric_installer.server.api", "users.json")
users = json.loads(users) users = json.loads(users)

0
fabric/server/api/users.json → fabric_installer/server/api/users.json

0
fabric/server/webui/__init__.py → fabric_installer/server/webui/__init__.py

0
fabric/server/webui/fabric-logo-miessler-transparent.png → fabric_installer/server/webui/fabric-logo-miessler-transparent.png

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

0
fabric/server/webui/fabric_web_interface_keys.json → fabric_installer/server/webui/fabric_web_interface_keys.json

0
fabric/server/webui/fabric_web_server.py → fabric_installer/server/webui/fabric_web_server.py

0
fabric/server/webui/favicon.ico → fabric_installer/server/webui/favicon.ico

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

0
fabric/server/webui/static/fabric-logo-miessler-transparent.png → fabric_installer/server/webui/static/fabric-logo-miessler-transparent.png

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

0
fabric/server/webui/static/favicon.ico → fabric_installer/server/webui/static/favicon.ico

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

0
fabric/server/webui/templates/index.html → fabric_installer/server/webui/templates/index.html

8
pyproject.toml

@ -1,5 +1,5 @@
[tool.poetry] [tool.poetry]
name = "fabric" name = "fabric-installer"
version = "0.2.0" version = "0.2.0"
description = "Fabric - AI framework for human augmentation" description = "Fabric - AI framework for human augmentation"
authors = [ authors = [
@ -46,6 +46,6 @@ build-backend = "poetry.core.masonry.api"
# Creates python "binaries" # Creates python "binaries"
[tool.poetry.scripts] [tool.poetry.scripts]
fabric = 'fabric:cli' fabric = 'fabric_installer:cli'
fabric-api = 'fabric:run_api_server' fabric-api = 'fabric_installer:run_api_server'
fabric-webui = 'fabric:run_webui_server' fabric-webui = 'fabric_installer:run_webui_server'

Loading…
Cancel
Save