Add copyable Drive debug diagnostics for troubleshooting
Lara Monteagudo Tubau
201f02a
Make Drive credentials loading graceful; handle missing/invalid JSON without crashing
Lara Monteagudo Tubau
673acc0
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