Commit History

Refactor encode_prompt function by removing enable_positive_prompt parameter and related logic; streamline image generation process
715c7b0

MohamedRashad commited on

Remove cache_enabled parameter from autocast context in load_infinity function for cleaner implementation
920cc4d

MohamedRashad commited on

Remove device initialization and logging from load_transformer function; set device parameter to None for flexibility
8e360af

MohamedRashad commited on

Make device optional in load_infinity function; set default to 'cuda' or 'cpu' based on availability and adjust autocast dtype handling
8e9da2c

MohamedRashad commited on

Enhance Infinity model loading by specifying device type in autocast context for improved performance
2d4f4be

MohamedRashad commited on

Optimize Infinity model loading by clearing CUDA cache and adjusting device assignment; remove redundant calls
9914b63

MohamedRashad commited on

Add device and dtype logging in app.py for better debugging
54f9225

MohamedRashad commited on

Refine prompt enhancement guidelines in app.py to focus on visual and sensory features; clarify output structure and examples
c493a61

MohamedRashad commited on

Add prompt enhancement functionality and integrate Gradio client in app.py; update requirements.txt
836dd96

MohamedRashad commited on

Update .gitignore to include weights folder and .pypirc
c0ec201

MohamedRashad commited on

Refactor app.py to improve UI layout and rename weight download function; update import path for AutoEncoder in vae.py
f7f1ca1

MohamedRashad commited on

Remove redundant text encoder model download and update tokenizer path in app.py
041b736

MohamedRashad commited on

Refactor import statement for consistency in utils/misc.py
77e7720

MohamedRashad commited on

Install flash-attn package with subprocess in app.py
1ce0fc2

MohamedRashad commited on

Refactor import paths and update requirements to include timm
bd9b6e5

MohamedRashad commited on

Add torchvision to requirements.txt
a251936

MohamedRashad commited on

Remove unused dependencies from requirements.txt
9e62bbd

MohamedRashad commited on

Add initial project structure with requirements and utility functions
32287b3

MohamedRashad commited on