aleks-wordcab's picture
Remove personal hotel email example and update hardware info to CPU
935d87e verified

A newer version of the Gradio SDK is available: 5.44.1

Upgrade
metadata
title: T5 Email Summarizer Demo v3
emoji: πŸ“§
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: true
license: apache-2.0
models:
  - wordcab/t5-small-email-summarizer
datasets:
  - argilla/FinePersonas-Conversations-Email-Summaries
space_hardware: cpu-basic

T5 Email Summarizer - Interactive Demo v3

This Space provides an interactive demo of the wordcab/t5-small-email-summarizer model.

πŸ”§ v3 Major Updates

  • Separate Subject/Body fields for better email structure
  • General title normalization (Mr. β†’ Mr, Dr. β†’ Dr, Prof. β†’ Prof)
  • Improved unicode handling for special characters
  • Robust preprocessing that handles all edge cases

Features

  • 🎯 Dual-mode summarization: Brief (1-2 sentences) or Full (detailed)
  • πŸš€ Fast inference: Quick processing even on CPU
  • πŸ’ͺ Robust: Handles typos, abbreviations, and informal language
  • πŸ”„ Auto-detect: Automatically chooses brief or full based on email length
  • πŸ”§ Smart preprocessing: General solution for title and unicode issues

Model Details

Try It Out

  1. Enter subject line (optional) and email body separately
  2. Select summary type or use auto-detect
  3. Click "Generate Summary"

The model will produce a concise, accurate summary with automatic normalization of titles and special characters!