These instructions are based on DreamBooth usage with the https://github.com/ShivamShrirao/diffusers repo.
Below are 2 files. "convertToCkpt.py" and "toCkpt.sh". Create those files inside the examples/dreambooth
folder with the code provided.
<?php | |
// This is what you might have right now | |
Route::get('users/{id}', 'UserController@getProfile')->where('id', '[\d+]+'); | |
Route::get('products/{id}', 'ProductController@getProfile')->where('id', '[\d+]+'); | |
Route::get('articles/{slug}', 'ArticleController@getFull')->where('slug', '[a-z0-9-]+'); | |
Route::get('faq/{slug}', 'FaqController@getQuestion')->where('slug', '[a-z0-9-]+'); | |
// and many more, now imagine you'll have to change the rule | |
// Instead, you could have a handy list of patterns and reuse them everywhere: |
These instructions are based on DreamBooth usage with the https://github.com/ShivamShrirao/diffusers repo.
Below are 2 files. "convertToCkpt.py" and "toCkpt.sh". Create those files inside the examples/dreambooth
folder with the code provided.