PycaptionaaS caption.py is the Flask server running on 127.0.0.1 that will be doing the conversion client.py is the client making a request to Flask for conversion of the media file. Example: At input use the file, file.srt