Spaces:
Sleeping
Sleeping
Commit History
-
Delete README_OLD.md
Verified signaturecb2ef9f -
Delete USER_GUIDE.md
Verified signature880d37e -
Create app.py
Verified signaturefd64ee9 -
Rename app.py to config.py
Verified signature9a0f889
-
Add comprehensive changelog for UI/UX improvement session
31c47f7 -
Add UI/UX improvements summary documentation
a68593c -
Add comprehensive documentation and user guide
📚 Documentation Enhancements: - Complete rewrite of README with modern formatting - Organized sections for features, models, and technical details - Added comprehensive USER_GUIDE.md with tutorials - Quick start guide for beginners - Advanced configuration guide for power users 📖 README Updates: - Modern layout with clear sections - Feature highlights with emojis for easy scanning - Model categorization by size and purpose - Technical flow explanation - Performance and customization info - Contributing guidelines 📝 User Guide Includes: - 5-minute quick start tutorial - Detailed feature explanations - Advanced parameter guide with use cases - Preset configurations for common tasks - Tips & tricks for better results - Troubleshooting section - Best practices for different user levels - Keyboard shortcuts reference 🎯 Content Organization: - Beginner-friendly introduction - Progressive complexity - Practical examples throughout - Visual tables for quick reference - Clear explanation…c1bc514 -
Major UI/UX improvements for better user experience
✨ Enhanced Interface: - Modern gradient theme with Soft design and custom colors - Organized layout with clear visual hierarchy - Collapsible accordions for advanced settings - Better spacing and visual grouping 🎨 Visual Improvements: - Custom CSS with gradient headers and smooth transitions - Improved chatbot styling with shadows and rounded corners - Enhanced button designs with hover effects - Better form controls with info tooltips 🚀 UX Enhancements: - Auto-hide web search settings when disabled - Example prompts to help users get started - Improved tooltips and descriptions for all controls - Better responsive layout for different screen sizes - Clear visual feedback for all interactions 📱 User-Friendly Features: - Copy button on chat messages - Larger, more accessible input area - Prominent Send and Stop buttons - Collapsible debug info to reduce clutter - Helpful footer with usage tips 🎯 Balance: - Simple interface by default (core settings always visible) - Advanced opt…df40b1d -
Fix UI not resetting after cancel - add reset handler
- Add reset_ui_after_cancel function to properly reset UI components - Chain .then() after cancel button click to reset UI state - Clear cancel_event flag for next generation - Ensures Submit button becomes interactive again after cancellationb7e5000 -
Fix GeneratorExit handling to prevent runtime error
- Catch GeneratorExit and re-raise it to satisfy Python's generator protocol - Track cancellation state to prevent yielding in finally block after GeneratorExit - Prevents 'generator ignored GeneratorExit' RuntimeError - Ensures proper cleanup without violating generator contractc49f312 -
Fix cancel generation feature by removing GeneratorExit handler
- Removed GeneratorExit exception handler from UI layer that was preventing cancellation - Allow GeneratorExit to propagate to backend generator where cancel_event checks work - Cancel button now properly stops text generation mid-stream - UI state resets correctly after cancellation9466288 -
Handle GeneratorExit by yielding UI reset and returning cleanly
a430811 -
Simplify GeneratorExit handling - let it propagate and rely on finally block
6dc4bdb -
Fix GeneratorExit handling by re-raising after UI reset
6ff484e -
Fix UI state reset after generation cancellation
fcb2aaa -
Fix GeneratorExit exception in cancel generation by adding proper exception handling
4bc617b -
bugfix
fd70375 -
Improve cancel generation with robust UI state management and orchestrator pattern
9ac7f36 -
Restore cancel generation feature with improved UI integration
a94befb -
Remove cancel generation feature as it didn't work
efa3ae6 -
Restore proper cancel functionality
- Revert stopping criteria to check cancel_event.is_set() - Confirmed stopping criteria mechanism works (generation stopped after 1 token in test) - Cancel should now work properly, stopping generation after current token when clickedafa1066 -
Test stopping criteria effectiveness
- Temporarily modify CancelStoppingCriteria to always return True - This will test if stopping criteria are being checked during generation - If generation stops after first token, stopping criteria work; if not, they are ignoredf0d2ab7 -
Improve cancel generation responsiveness
- Add additional cancel checks before each yield in the streaming loop - Ensures generation stops immediately when cancel is triggered, preventing partial responses from being displayed - Complements the StoppingCriteria to provide more robust cancellation48e50b8 -
Fix cancel generation to gracefully stop ongoing response generation
- Add StoppingCriteria import and CancelStoppingCriteria class - Integrate stopping criteria into generation pipeline to halt token generation when cancel event is set - Ensures generation stops at the model level, preventing unnecessary GPU usagea73d8f4 -
remove qwen3 30b-a3b and qwen3 next 80b-a3b
4af617b -
Remove AOT indication from UI duration estimate
f97cbfc -
Remove AOT compilation completely and enable use_cache
426163f -
Fix dynamic_shapes kwargs to match inputs structure for AOT compilation
273acf8 -
Fix AOT compilation dynamic_shapes to match expected arg names for torch.export.export
0a99dfc -
Update requirements.txt
Verified signature4d2c362 -
Update requirements.txt
Verified signature48d806a -
Add dynamic GPU time estimate indicator to UI
- Shows estimated GPU seconds for current inference settings - Updates in real-time when model, search settings, or max tokens change - Displays model size, AOT status, and search status - Helps users manage precious ZeroGPU time budget effectivelyfc989b4 -
Improve model size detection: replace ad-hoc string parsing with reliable params_b field in MODELS dict
ab92e0d -
Add qwen 80b-a3b
8cdf3e1 -
Set better defaults for free-tier users: Qwen3-1.7B model, 1024 max tokens, search disabled
2cae073 -
Adjust duration estimation for H200 performance - reduce conservative estimates
de766da -
Use actual parameter count for AOT decision instead of string matching
e3e334f -
Make AOT compilation conditional for models >= 2B parameters to optimize free tier usage
4500f92 -
Add AOT compilation optimization for ZeroGPU acceleration
a7866ff -
add 4 20b+ models after enabling dynamic gpu duration
Verified signaturefea2910 -
Add dynamic duration calculation for ZeroGPU acceleration
6073cc2
-
make qwen-4b default
Verified signatured3726c6 -
disable two models that cannot run or too run too slowly on hf spaces with zerogpu
3dc7ced -
Update app.py
Verified signaturef1fa55c -
Update app.py
Verified signaturef07d6ab -
Update app.py
Verified signature0992852 -
add original apriel 15b
Verified signature2b25033 -
use apriel 8bit
Verified signaturea4681bd -
run Apriel on 4bit
Verified signature2cadf8a -
Add Apriel-1.5-15b-Thinker
Verified signature3665b54