fixed not loading model issue for the portable version
This commit is contained in:
Binary file not shown.
Binary file not shown.
+1
-1
@@ -169,7 +169,7 @@ class PromptGenerator:
|
||||
):
|
||||
from datetime import date
|
||||
|
||||
root = join("models", "prompt_generators")
|
||||
root = join(models_dir, "prompt_generators")
|
||||
real_path = join(root, model_name)
|
||||
prompt_log_filename = join("generated_prompts", str(date.today())) + ".txt"
|
||||
generated_text = ""
|
||||
|
||||
Reference in New Issue
Block a user