Closed Dreadfxl closed 1 year ago
Is this not working? Could you please let me know what operating environment you are using?
That's it, that doesn't work for me. When I choose one of the options it gets stuck on "queue" and "processing", "queue" and "processing", on a loop.
I'm using Windows 11 Pro, with the "COMMANDLINE_ARGS=--listen" on the .bat launch file so I can run Stable Diffusion on other devices.
I tested it on the same device with the same options and didn't encounter any issues. I couldn't test it for remote connection with another PC. I'm actually not sure where the problem lies because the code itself is ordinary.
I happened to think of VMware, so I tried a remote connection. The PC with SDUI installed was running Windows 11, and VMware was running Ubuntu with Firefox browser. I was able to operate it without any issues. Perhaps the issue is caused by a delay in the connection to the server.
This what happens, I've tried with other civitai shortcuts. Stays like this, basically forever.
It seems to be stuck in a recursive loop, but it shouldn't be possible since it uses the select event trigger, not the change trigger. It's behaving as if it were triggered by the change event, so it appears to be influenced unexpectedly from somewhere. Is it possible to turn off other extensions and try running it?
Now that I removed every extension and left only civitai it gives me this error. Is there a folder that I can delete to clear, like, cache of this extension?
Edit: I've deleted my venv folder, but didn't fix it.
It would have been enough to uncheck it in the extensions tab, but it seems like you deleted it completely. 😢 If you reinstall it, please make sure to keep the files CivitaiShortCut.json and CivitaiShortCutClassification.json, as they contain the saved shortcuts and classification information. Replace these two files after reinstalling. Anyway , it's frustrating that it's still the same even after trying that.
edit: And if you execute "Manage -> Scan and Update Model -> Update the model information for the shortcut," it will download and retrieve the latest information.
It seems like I also encounter the last error screen while updating SDUI. I will need to investigate and check it out.
Little update: I've reinstalled the extension and still gives me the same error.
That error was not related to updating SDUI, but rather a problem that arose from changes in the model information specification in Civitai. Data needs to be updated. I have uploaded the fix urgently. To update the data, you can execute "Manage -> Scan and Update Model -> Update the model information for the shortcut," and it will download and retrieve the latest information. 😢
edit : You need to update Civitai Shortcut first.
Ok, so the extension is working again but the original problem still remains. I have disabled every extension and only left civitai on.
Shall we proceed like this? Since I can't reproduce that situation, it might take some time to identify the cause. Since what you need is to select a file and download it, I'll make that possible for you. You need some source code modifications. There are two files
The files are located in scripts -> civitai_manager_libs: civitai_action.py ishortcut_action.py
Please change line 45 of civitai_action.py as follows:
Change: filename_list = gr.CheckboxGroup(show_label=False, label="Model Version File", choices=[], value=[], interactive=True, visible=False)
To: filename_list = gr.CheckboxGroup(show_label=False, label="Model Version File", choices=[], value=[], interactive=True, visible=True)
Please change line 42 of ishortcut_action.py as follows:
Change: filename_list = gr.CheckboxGroup(show_label=False, label="Model Version File", choices=[], value=[], interactive=True, visible=False)
To: filename_list = gr.CheckboxGroup(show_label=False, label="Model Version File", choices=[], value=[], interactive=True, visible=True)
Afterwards, when you run it, you will see an option to select the file below the list of download options. From now on, you can use this option to make your selection. It seems that using a trick to add checkbox boxes to Gradio's dataframe has caused some issues.
If you encounter the same issue in the next version, please try making a similar modification or reach out to me for assistance.
Thank you!! this way is working!!
I'm glad to hear that it's working. Can I check the version information that appears at the bottom? I'm curious and would like to verify it. like this.
When you have the chance, I recommend updating sdui.
Should I revert those two lines and try your extension again?
Edit:
Well it's working now! I guess the update wasn't compatible, Thank you so much
I should have thought of this first... I'm glad it's going well.
Hello,
With the newest version of civitai shortcut I cannot choose which specific file to download. The only option is to download every file.
Can you make it so I can choose specific files?
Thank you