Make Drive transcript flow sessionless and add loading states
Lara Monteagudo Tubau
77b1d4b
Add copyable Drive debug diagnostics for troubleshooting
Lara Monteagudo Tubau
201f02a
Add Drive dropdown workflow and session restore
Lara Monteagudo Tubau
da4b58e
- setup page: refresh Drive files + load previous session buttons
- process flow: accept upload OR Drive dropdown source
- persist lightweight session snapshot to Drive after processing
- switch Drive auth to service-account env secrets for HF Spaces
Add Google Drive integration
Lara Monteagudo Tubau
449fffb
- drive_utils.py: OAuth2 auth, file listing, read/write operations
- List transcripts from shared folder
- Stream files from Drive (memory-efficient)
- Persist session state to Drive (frees local memory)
- Token caching per researcher for seamless re-auth
- app.py: Import Drive utilities
- requirements.txt: Add google-auth-oauthlib, google-auth-httplib2,
google-api-python-client
This enables researchers to:
1. Connect to Google Drive (one-time auth)
2. Select transcript from dropdown (no manual upload)
3. Save session state to Drive (liberates memory)
4. Reload previous session by researcher name
Fix: executor resource leak and O(n²) lookup inefficiency
Lara Monteagudo Tubau
762c8b6
- pipeline.py: Change executor.shutdown(wait=False) to wait=True to prevent
worker threads from leaking when caller cancels. Threads now complete
before generator returns.
- app.py fn_run_all_boundaries: Pre-build failed_sids set (O(1) lookup)
instead of checking pstats.results with any() per section (O(n²)).
Reduces loop overhead for 20 sections by ~98%.
Improve expandable sections review
Lara Monteagudo Tubau
34890bc
Refine transcript episode review UI
Lara Monteagudo Tubau
e605ae7
Update Hugging Face deployment code
Lara Monteagudo Tubau
02a1c61
Deploy: update Hugging Face Space
Lara Monteagudo Tubau
a873f76
Fix app.py syntax errors blocking Space startup
Lara Monteagudo Tubau
6f73902
Add editorial-inspired design system for app UX
Lara Monteagudo Tubau
854f873
- Introduce bold minimal visual language inspired by references
- Add neutral-canvas + coral-accent theme tokens
- Redesign app header, workspace cards, and page strips with geometric style
- Improve navigation hierarchy and typographic contrast
- Keep one-page-at-a-time workspace flow with stronger orientation
Restructure UX into page-based app flow
Lara Monteagudo Tubau
8ada575
- Add Home dashboard with 3 function cards (Transcript, Intercoder, AI Library)
- Convert major functions into clear page-style tabs with navigation buttons
- Add quick help guidance panel for reduced cognitive load
- Improve tab naming and orientation as Page 1/2/3
- Keep workflows separated by function for clarity
Improve UI/UX: phase flow, inline error handling, and status transparency
Lara Monteagudo Tubau
c045122
- Add inline red-box validation for missing Session ID/Researcher ID
- Replace pop-up errors with contextual status cards
- Add processing reports with timing and details
- Improve pipeline phase labels for better user orientation
- Better visual hierarchy for error/success feedback
Improve UX: inline validation, better error handling, and progress reporting
Lara Monteagudo Tubau
3dc5e3c
- Replace pop-up alerts with red-boxed inline error messages for missing fields
- Add success card showing parse results (turns, speakers, processing time)
- Better visual hierarchy in error display with emoji icons
- Process status cards instead of overwhelming all-in-one view
- More transparent feedback when operations complete