llmkira / novelai-python Goto Github PK
View Code? Open in Web Editor NEW✨ NovelAI api python sdk, easy to use, modern and user-friendly.
License: Apache License 2.0
✨ NovelAI api python sdk, easy to use, modern and user-friendly.
License: Apache License 2.0
67785
M +
Use LoginCredential instead of Login
Your Subscription Anlas:
Your Paid Anlas:
Traceback (most recent call last):
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "c:\Users\Альоша\.vscode\extensions\ms-python.debugpy-2024.4.0-win32-x64\bundled\libs\debugpy\__main__.py", line 39, in <module>
cli.main()
File "c:\Users\Альоша\.vscode\extensions\ms-python.debugpy-2024.4.0-win32-x64\bundled\libs\debugpy/..\debugpy\server\cli.py", line 430, in main
run()
File "c:\Users\Альоша\.vscode\extensions\ms-python.debugpy-2024.4.0-win32-x64\bundled\libs\debugpy/..\debugpy\server\cli.py", line 284, in run_file
runpy.run_path(target, run_name="__main__")
File "c:\Users\Альоша\.vscode\extensions\ms-python.debugpy-2024.4.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 321, in run_path
return _run_module_code(code, init_globals, run_name,
File "c:\Users\Альоша\.vscode\extensions\ms-python.debugpy-2024.4.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 135, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "c:\Users\Альоша\.vscode\extensions\ms-python.debugpy-2024.4.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 124, in _run_code
exec(code, run_globals)
File "C:\stable-diffusion-webui\outpust\OneDrive - iicx\sd_nai_ref\work_copy_server\sd_bot_1_6_4.py", line 29, in <module>
from danboorutags_1_7 import cmd_dan, cmd_tt, cmd_tags, cmd_deep, sfw_prompt_generator, nsfw_prompt_generator
File "C:\stable-diffusion-webui\outpust\OneDrive - iicx\sd_nai_ref\work_copy_server\danboorutags_1_7.py", line 20, in <module>
from novelai_python.tool.random_prompt import RandomPromptGenerator
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\__init__.py", line 14, in <module>
from .sdk import GenerateImageInfer, ImageGenerateResp
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\sdk\__init__.py", line 7, in <module>
from .ai.generate import LLM, LLMResp # noqa 401
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\sdk\ai\generate\__init__.py", line 19, in <module>
from ...._response.ai.generate import LLMResp
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\_response\ai\generate.py", line 6, in <module>
from novelai_python.tokenizer import LLMTokenizer
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\tokenizer\__init__.py", line 121, in <module>
class LLMTokenizer:
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\tokenizer\__init__.py", line 139, in LLMTokenizer
_NERDSTASH_TOKENIZER_v1 = SentencePiece(_NERDSTASH_TOKENIZER_v1_PATH)
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\tokenizer\__init__.py", line 31, in __init__
self.Load(model_path)
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\sentencepiece\__init__.py", line 961, in Load
return self.LoadFromFile(model_file)
File "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\sentencepiece\__init__.py", line 316, in LoadFromFile
return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg)
OSError: Not found: "c:\Users\Альоша\AppData\Local\Programs\Python\Python310\lib\site-packages\novelai_python\tokenizer\nerdstash_v1.model": No such file or directory Error #2
but I have this file!
https://github.com/NovelAI/novelai-image-metadata
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.