1. 20 Jan, 2024 1 commit
    • Yorick's avatar
      Update replicate code and readme (#73) · 6ec44fc1
      Yorick authored
      
      
      * Add working cog demo
      
      * Add safety checker
      
      * Print seed when doing a prediction
      
      * Update README.md
      
      * Update for upstream changes, update torch==2.1.1, pget model weights
      
      * Add up to four inputs and outputs in cog demo
      
      And clean up predict.py based on review feedback
      
      * Add some debug output for users
      
      * Improve cog parameters based on feedback
      
      * Strip trigger_word from prompt using tokenizer
      
      * Fix guidance scale bug, allow no classifier free guidance in pipeline.
      
      * Update README.md
      
      * Disallow trigger word in negative prompt
      
      ---------
      Co-authored-by: default avatarJudith van Stegeren <judith@replicate.com>
      Co-authored-by: default avatarJudith van Stegeren <690008+jd7h@users.noreply.github.com>
      6ec44fc1
  2. 17 Jan, 2024 1 commit
    • mbuke_repo's avatar
      Add Cog configuration for replicate deployment (#27) · 541fd6dc
      mbuke_repo authored
      * feat: add cog configuration for replicate deployment
      
      * fix: clean up
      
      * fix: clean up the configuration
      
      * fix: download the weights with pget
      
      * fix: download with huggingface
      
      * fix: clean up
      
      * fix: add missing bits
      
      * fix: fix loading the image
      
      * fix: default num_outputs to 1
      541fd6dc