-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storing demo data in home folder instead of local
- Loading branch information
Showing
8 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "vectory" | ||
version = "0.1.4" | ||
version = "0.1.5" | ||
description = "Streamline the benchmark and experimentation process of your models that rely on generating embeddings" | ||
authors = ["Pento <[email protected]>"] | ||
readme = "README.md" | ||
|
@@ -32,7 +32,7 @@ classifiers= [ | |
"Topic :: Software Development :: Libraries", | ||
] | ||
|
||
include = ["docker-compose.yml", "Dockerfile", ".dockerignore", "troubleshooting.md"] | ||
include = ["docker-compose.yml", "Dockerfile", ".dockerignore", "TROUBLESHOOTING.md"] | ||
|
||
[tool.poetry.scripts] | ||
vectory = "vectory.cli:app" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
from pathlib import Path | ||
|
||
from coolname import generate | ||
|
||
|
||
def generate_name(name: str, words=3) -> str: | ||
return "-".join([*generate(words), name]) | ||
|
||
|
||
def get_vectory_dir() -> Path: | ||
return Path.home() / ".vectory" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import os | ||
from pathlib import Path | ||
|
||
from streamlit import config | ||
|