Brawlence / SD_api_pics

An extension to oobabooga's TextGen allowing you to receive pics generated by Automatic1111's SD API
12 stars 1 forks source link

Current chatbots are bad at creating SD prompts. This pull remedies that to a large extent. #2

Closed kiancn closed 1 year ago

kiancn commented 1 year ago

This pull adds a function that filters for conversational words and needless special characters.

I had to update the old 'not-updated-code' (in comparison to the one in oobabooga), but this enhancement works the same nonetheless.

I recommend updating the code in this repo to at least match the one in oobabooga. Include my enhancement or don't but please update the code in the repo marked as the experimental one; or encourage updates directly in the main oobabooga repo.