mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
remove unused function get_root()
This commit is contained in:
parent
46cab81d6f
commit
5659d10778
@ -144,15 +144,6 @@ def yes_or_no(prompt: str, default_yes=True):
|
|||||||
else:
|
else:
|
||||||
return response[0] in ("y", "Y")
|
return response[0] in ("y", "Y")
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------
|
|
||||||
def get_root(root: str = None) -> str:
|
|
||||||
if root:
|
|
||||||
return root
|
|
||||||
else:
|
|
||||||
return config.root_dir
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------
|
# ---------------------------------------------
|
||||||
def recommended_datasets() -> dict:
|
def recommended_datasets() -> dict:
|
||||||
datasets = dict()
|
datasets = dict()
|
||||||
|
Loading…
Reference in New Issue
Block a user