Spaces:
Running
Running
Commit History
-
feat: Implement dark mode and conversational memory
Danmoreng- Add a toggleable dark mode with Mistral branding colors. - Refactor the entire UI to use a custom semantic stylesheet, removing the Tailwind CSS CDN dependency. - Fix a bug where the vision model did not retain conversation history, enabling continuous conversations. - Clean up and fix several minor styling and layout issues.5341614 -
feat: Add image upload for vision model
Danmoreng- Add UI elements for image selection, preview, and removal. - Implement client-side logic to read the image file and send its data to the worker. - Update the worker to accept image data and create a RawImage. - Implement image resizing in the worker to prevent GPU buffer errors with large images. - Fix a regression where text-only models failed due to incorrect tokenizer handling.eaf6082 -
feat: Implement dynamic model loading and improve error handling
Danmoreng- Add mistralai/Ministral-3-3B-Instruct-2512-ONNX to model selection. - Update @huggingface/transformers to 3.8.1 for broader model support. - Implement dynamic model class selection in worker.js for AutoModelForCausalLM and AutoModelForImageTextToText. - Correct prompt formatting for Ministral model warmup and generation. - Enhance worker error logging for better debugging. - Add .gitignore to exclude .examples directory. - Introduce start_server.cmd for local development. - Remove obsolete ew_ui.html.2b9fb40 -
Refactor: Update models and remove fallback logic
Danmoreng- Removed automatic fallback to the 0.5B model in worker.js. - Removed the Hugging Face token input field and requirement. - Curated the model list to include newer, smaller models like IBM Granite and Microsoft Phi-3. - Set IBM Granite as the default model.462a9ae -
Integrate LLM chat UI and logic into existing web project.
Danmoreng- Merged new_ui.html content into index.html. - Extracted CSS from new_ui.html into style.css. - Created worker.js for Web Worker logic. - Integrated UI logic from new_ui.html into index.js. - Updated transformers.js version to 3.7.6. - Kept new_ui.html as a reference for now.6708fb2 -
initial commit
Verified signatureb188811 -
Duplicate from static-templates/transformers.js
Verified signatureCo-authored-by: Joshua <Xenova@users.noreply.huggingface.co>7d426d5