Spaces:
Paused
Paused
Commit History
-
Fix tuple error - return only formatted_text from app_handle
Verified signature22a4d65
-
fixed initialization error
Verified signature921230a -
updated the output formatting
Verified signature0571312 -
updated formatting
Verified signature704a8c1 -
Fix format_response_text indentation - all indentation errors resolved
Verified signature3a636a2 -
Fix indentation errors - use consistent 4-space indentation
Verified signature848900c -
Update app.py
Verified signaturea5484dc -
Update app.py
Verified signature37ab447 -
Add formatted response and remove mail type dropdown - let model auto-classify
Verified signaturea1745ba -
Remove queue parameters from demo launch in app.py for simplified execution.
1f028c7 -
Update BASE_MODEL in model_loader.py to correct model path
32e01fc -
Merge branch 'main' of hf.co:spaces/iatechaways/mail_bot
dcf17b8 -
Update .gitignore to include .env file for environment variable management
93905e0 -
Fix syntax error - add missing commas before token parameter
Verified signature29e5c2f -
Add HF_TOKEN authentication for gated model access
Verified signature007c634 -
Update .gitignore to include __pycache__ and change BASE_MODEL version in model_loader.py to 3.2-3B
8711360 -
Refactor email handling and model inference.
f814c93 -
Update requirements.txt: Modify dependencies to ensure compatibility with recent changes
7061cba
-
Fix IndentationError: Correct indentation for email conversion code
Verified signaturebfdcd02 -
Fix SyntaxError: Add proper indentation to email conversion code (lines 89-93)
Verified signature1d2cb8b -
Fix SyntaxError: Move email conversion code inside try block before return
Verified signature94bddb3 -
Convert JSON output to email format: Change output from JSON to proper email text format
Verified signaturefe42c82 -
Fix syntax error: Add newline after decorator
Verified signature94b6049 -
Fix ZeroGPU timeout: Add duration parameter and optimize device mapping
Verified signature3b05d0c
-
Add comprehensive error handling and debug logging
Verified signaturebbeb47e -
Remove debug print statements with indentation issues
Verified signatureb2cfdd4 -
Update app.py
Verified signature0db9bc6 -
Add debug logging to print extracted policy number in app.py
Verified signaturec809e63 -
Add database connection testing and debug logging for policy number queries
Verified signaturecb5b0e4 -
Clean policy number input in fetch_client_info_by_policy function to ensure consistent formatting before database query.
3d9ed25 -
Enhance email processing in app.py by adding policy number extraction and a new database function to fetch client info by policy. Update logic to handle cases where client_id is not available, improving response accuracy.
2231cf4 -
Enhance email handling in app.py: classify emails, generate responses with initial model output, and fetch client data from the database for improved response accuracy.
6788d4b -
Refactor get_model_response function to enhance JSON response generation with structured prompts and improved error handling.
adf7dca
-
Fix indentation errors in model_loader.py
Verified signature33dcaf6 -
Fix indentation error: add missing if statement on line 56
Verified signature3ae579c -
Aggressive optimization: reduce max_new_tokens to 64 for faster ZeroGPU processing
Verified signature9a57d4f -
Remove problematic line 56 that caused indentation error
Verified signaturee14e451 -
Fix indentation error on line 56
Verified signature9ce61ce -
Optimize inference: reduce tokens to 256 and temperature to 0.1 for faster processing
Verified signatureb8c2b9a -
Increase max_new_tokens to 512 to handle long complex emails
Verified signature4c47bc8 -
Extract only JSON object by matching braces, ignore extra text
Verified signature62edf48 -
Extract JSON from model output by removing prompt text
Verified signature96b5da4 -
Fix pipeline result extraction: add ['generated_text'] to access output
Verified signature9fa88d6 -
Update PEFT to >=0.14.0 to fix LoraConfig corda_config error
Verified signature03f8a5f -
Fix syntax error: remove extra quote in device_map parameter
Verified signaturefd0429d -
Update PyTorch to 2.5.1 for ZeroGPU compatibility
Verified signature3eb2300 -
Configure model_loader for ZeroGPU compatibility
Verified signature524cd22 -
Fix syntax error: Remove misplaced @spaces.GPU decorator
Verified signaturea242754 -
Add GPU support for model processing in the application.
9fd2acf -
Add initial application structure with email handling and database integration.
cb51934