Infinity / app.py

Commit History

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

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

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

MohamedRashad commited on

Add initial project structure with requirements and utility functions
32287b3

MohamedRashad commited on