def _upload(param_dict, timeout, data):
 param_dict['format'] = 'json'
 param_dict['wait'] = 'true'
 param_dict['bucket'] = 'audio_summary'
 result = util.callm('track/upload', param_dict, POST=True, socket_timeout=300, data=data)
 return _track_from_response(result, timeout)

def _upload ( param_dict , timeout , data ) : param_dict [ 'format' ] = 'json' param_dict [ 'wait' ] = 'true' param_dict [ 'bucket' ] = 'audio_summary' result = util . callm ( 'track/upload' , param_dict , POST = True , socket_timeout = 300 , data = data ) return _track_from_response ( result , timeout )
calls upload either with a local audio file .