Features: - OpenAI Whisper for audio transcription - DeepL API for translation (30+ languages) - Multiple output formats: TXT, VTT, SRT - Flask Python API backend - PHP frontend with black/gold theme - Support for 350MB files - Generates both original and translated files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
No EOL
351 B
PHP
13 lines
No EOL
351 B
PHP
<?php
|
|
// Start session only if not already started
|
|
if (session_status() === PHP_SESSION_NONE) {
|
|
session_start();
|
|
}
|
|
|
|
// Python API endpoint (adjust port if needed)
|
|
define('PYTHON_API_URL', 'http://localhost:5010');
|
|
|
|
// DeepL API Key
|
|
define('DEEPL_API_KEY', '28743b40-d23f-416d-8223-9b868c9531dc');
|
|
|
|
// Other configuration settings can be added here
|