flask flask-cors openai-whisper anthropic requests replicate