vetchems / sd-civitai-browser Goto Github PK
View Code? Open in Web Editor NEWAn extension to help download models from CivitAi without leaving WebUI
License: GNU Affero General Public License v3.0
An extension to help download models from CivitAi without leaving WebUI
License: GNU Affero General Public License v3.0
Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict output = await app.get_blocks().process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1015, in process_api result = await self.call_function( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 833, in call_function prediction = await anyio.to_thread.run_sync( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run result = context.run(func, *args) File "D:\stable-diffusion-webui\extensions\sd-civitai-browser\scripts\civitai-api.py", line 150, in download_file_thread path_to_new_file = os.path.join(model_folder, file_name) File "C:\Users\Alex\.conda\envs\sd\lib\ntpath.py", line 143, in join genericpath._check_arg_types('join', path, *paths) File "C:\Users\Alex\.conda\envs\sd\lib\genericpath.py", line 152, in _check_arg_types raise TypeError(f'{funcname}() argument must be str, bytes, or ' TypeError: join() argument must be str, bytes, or os.PathLike object, not 'list'
I'm not sure if is something with all the recent updates to Automatic1111, but yesterday was working fine and today it give me that error
@Vetchems might not have time or desire to maintain it and isn't merging pull requests yet. Should we settle on a fork and continue development? I'd like to see something that can manage the models versions with CivitAI so you can keep up to date with updated releases without having to manually manage them. And i'd like for it to help suggest tags based on the model info you download.
I believe that civitai added a new filter today, then the browser can't fetch the full list now.
I am glad to see progress. Could you please add the license first?
File "/usr/local/lib/python3.8/dist-packages/gradio/routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 1015, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 833, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.8/dist-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/content/gdrive/MyDrive/WebUI/stable-diffusion-webui/extensions/sd-civitai-browser/scripts/civitai-api.py", line 199, in save_text_file
path_to_new_file = os.path.join(model_folder, file_name.replace(".ckpt",".txt").replace(".safetensors",".txt").replace(".pt",".txt"))
AttributeError: 'list' object has no attribute 'replace'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/gradio/routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 1015, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 833, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.8/dist-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/content/gdrive/MyDrive/WebUI/stable-diffusion-webui/extensions/sd-civitai-browser/scripts/civitai-api.py", line 150, in download_file_thread
path_to_new_file = os.path.join(model_folder, file_name)
File "/usr/lib/python3.8/posixpath.py", line 90, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib/python3.8/genericpath.py", line 152, in _check_arg_types
raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'list'
It was working very well but for the last few days it stop showing preview of the models when selecting the model.
It works only if the model has multiple versions and select one of the versions from the drop down and go back to the 1st one on the list.
How to fix this? is it something on my side or is it a bug?
Is this project alive?
Hi thanks for this amazing tool, and thanks for share and help, well all works good but if the model only have one option for select is the problem and don't load the info for download I share some screens about this.
Look in this picture that the model have many options is perfect you can choose and download
But in this option when the model only have one option don't load the info for download
and sometimes load the info but not the download url for can download with the button
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.