renames fabric folder into fabric_installer
Before Width: | Height: | Size: 42 MiB After Width: | Height: | Size: 42 MiB |
@ -45,12 +45,12 @@ client = openai.OpenAI(api_key = openai.api_key)
|
||||
|
||||
|
||||
# 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)
|
||||
|
||||
|
||||
# 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)
|
||||
|
||||
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -1,5 +1,5 @@
|
||||
[tool.poetry]
|
||||
name = "fabric"
|
||||
name = "fabric-installer"
|
||||
version = "0.2.0"
|
||||
description = "Fabric - AI framework for human augmentation"
|
||||
authors = [
|
||||
@ -46,6 +46,6 @@ build-backend = "poetry.core.masonry.api"
|
||||
|
||||
# Creates python "binaries"
|
||||
[tool.poetry.scripts]
|
||||
fabric = 'fabric:cli'
|
||||
fabric-api = 'fabric:run_api_server'
|
||||
fabric-webui = 'fabric:run_webui_server'
|
||||
fabric = 'fabric_installer:cli'
|
||||
fabric-api = 'fabric_installer:run_api_server'
|
||||
fabric-webui = 'fabric_installer:run_webui_server'
|
||||
|