Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work in progress: HTTP download for server.py #544

Draft
wants to merge 19 commits into
base: beta
Choose a base branch
from

Conversation

JeLuF
Copy link
Contributor

@JeLuF JeLuF commented Nov 24, 2022

Supports download of http and https files, resumes downloads automatically. The code works, but is missing features.

Todo:

  • pip install aiofile
  • remote interface for download status (currently console only)
  • UI

Interface to allow plugins to alter prompts
New Model Manager tab
UI to store model-specific token, either as prefix or suffix
Automatically add the token to the prompt if there are token defined for the chosen model
Button to add models (non-functional)
Switch from prefix/suffix to a list of tokens per model, and the tokens get shown under the Negative Prompt section
@JeLuF
Copy link
Contributor Author

JeLuF commented Dec 7, 2022

Todos:

Mandatory:

  • Search functionality. Currently hardcoded to "top downloads".
  • NSFW filter.
  • "Back" button to return from details to results. Browser back button support?
  • Saving tokens of new model doesn't work. Probably stuff happens in the wrong order.
  • test multiple parallel downloads
  • review function names. Some names don't match the functions purpose any more
  • catalog button doesn't work any more after download of the first model. Debug console shows that the event listener is bound to the right function.
  • Move CSS code to main.css

Optional

  • On UI launch, if the list of models is empty, offer to download one of the base models (1.4, 1.5, 2.0)
  • Currently, if a download is ongoing, and the user reloads the page, the tokens will not be configured, sort out how to fix. Also, download status will not be shown in the UI any more
  • Test multiple concurrent downloads.
  • new SVG civitai logo

@JeLuF JeLuF marked this pull request as draft February 20, 2023 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant