Spaces:
Sleeping

backendAPI / app.py

Commit History

  1. Fix TypeError: Convert numeric classes to strings in initialize_models

    75136b3
  2. Fix: Handle numeric class labels with label_encoder in new sentiment model

    e35a87f
  3. Fix: Support new model key names (tfidf vs tfidf_vectorizer)

    a8b6747
  4. Replace old sentiment model with new text_model/best_mental_health_model_new.pkl

    fed7c10

  1. Fix: Only average USER messages for journal sentiment, not Gemini responses

    c2f7727
  2. Auto-initialize emotion detection (haarcascade) on startup

    c17d49e
  3. Add route to serve haarcascade XML file for Flutter app access

    8e5e32f
  4. Fix sentiment model VersionMismatch and clean_text reference issue

    765c205
  5. Fix model loading issues and Dockerfile dependencies for Hugging Face

    582b61d
  6. Add support for GCP_CREDENTIALS_JSON env variable for Hugging Face Spaces

    a227197
  7. Deploy app.py with ML models and dependencies

    2fe683b