Initialize demo variable first, then create - ensure it's always set 7a52211 arahrooh commited on 15 days ago
Add explicit demo validation and final checks to ensure Spaces can detect it 7310187 arahrooh commited on 15 days ago
Create demo unconditionally at module level - ensure Spaces can always detect it f67cadb arahrooh commited on 15 days ago
Refactor demo creation to match HF Spaces documentation pattern - create directly at module level 74d36f0 arahrooh commited on 15 days ago
Simplify demo creation - remove try/except wrapper that might interfere with Spaces detection c98a991 arahrooh commited on 15 days ago
Fix logger initialization order - logger must be defined before use f3b3fd8 arahrooh commited on 15 days ago
Ensure demo is always set at module level for Spaces detection 68cc4a9 arahrooh commited on 15 days ago
Simplify demo creation - remove try/except wrapper for cleaner module-level assignment 9c35d2f arahrooh commited on 15 days ago
Ensure demo is always defined for Spaces with better error handling 56dc312 arahrooh commited on 15 days ago
Fix AttributeError: use property for args instead of direct assignment dffdda5 arahrooh commited on 15 days ago
Fix AttributeError: use bot.args.model instead of bot.current_model 237ee8e arahrooh commited on 15 days ago
Use Hugging Face Inference API on Spaces instead of loading models locally ecb9bc5 arahrooh commited on 15 days ago
Fix triple model loading: prevent main() from running on Spaces 45ed548 arahrooh commited on 15 days ago
Optimize memory usage: use float16 on CPU and fix double loading 1553f78 arahrooh commited on 15 days ago