From 0a887bf7a1fbb8f89021af28fb14f5dabdeb961f Mon Sep 17 00:00:00 2001 From: vikramxD Date: Wed, 25 Dec 2024 18:53:53 +0000 Subject: [PATCH] Add Allegro inference configuration and video generation scripts - Introduced `allegro_settings.py` for managing Allegro model settings with Pydantic. - Created `allegro_diffusers.py` to handle video generation using the Allegro inference pipeline. - Implemented logging for better traceability during model initialization and video generation. - Added error handling for robust pipeline setup and video export processes. --- .../allegro_settings.cpython-310.pyc | Bin 0 -> 1693 bytes configs/allegro_settings.py | 34 +++++ scripts/allegro_diffusers.py | 117 ++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 configs/__pycache__/allegro_settings.cpython-310.pyc create mode 100644 configs/allegro_settings.py create mode 100644 scripts/allegro_diffusers.py diff --git a/configs/__pycache__/allegro_settings.cpython-310.pyc b/configs/__pycache__/allegro_settings.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1c671650df5ef32ea7f02efdffc06dec74e6621e GIT binary patch literal 1693 zcmZux&2Aev5a#}9wNhlsiV`*);{u47r@q@SAU#@9lLFj8CU&^0$xBKW4EzU=JO^ zR2T$9%t_JGi5v&LK+I*{N5nkteDETd`KM^yx`I<^?C9Q)RPj?@mLf}3Y&Lg?2a6+^ z>OBaKB8Q>K{S|^o9&;m~w|Kz3L&W^3ZS5A=K@{>1?6<)Vqb|P#b_eWk)U*3{!0ttR z*4_iVAN8$0I5es5vmvB9{NP3dc9)GlqG+GpgM{zv!Eu`MMCR*c>n~jl;~2lXWHc*9 zjMeHII8Lcjc#%uI^1&ioaLKcn<2cV2BB>-TMV?K&HpZKCp;k_n;%XbQ%yA*}3&A+P zps8Ti3Db;WPSqvm*@cjKw&Yp)e@swnA$+aI>jOu{#3la0H$50gQE6!O07L4zYbU&#eO}HpgF-^HZE}R)H={utM z+sYt7Ql2H{`4s~PJ<6&j*?>b-$qRKgFkiey@qa!z@Z|`mdH`b0hcz3R7quF4)dx3f zHGOVTuV2|)nzC(*cC8*emD|Ao9>09~^NZKNkT)meK!?QQ zM2PMZ0=QKv2fIhe+lrwhz+aF;@`ZS(N2~I30?ZMKE$L?@58#?sd>zkZ zo|m(qs903LSF# z{pbb{e%Nw(UUw$AA@aO#PoNPvo7ck$zE0qIeK5hd(AVzYLf&~DOfXP){?!?e+tR#> zGBCnaLUxQW@2Kn<(FXx$|