<s> from __future__ import absolute_import <EOL> import os <EOL> from celery import shared_task <EOL> @ shared_task <EOL> def play_sound ( args ) : <EOL> filename = args . get ( '<STR_LIT>' , None ) <EOL> url = args . get ( '<STR_LIT>' , None ) <EOL> if filename is not None : <EOL> os . system ( '<STR_LIT>' + filename ) <EOL> elif url is not None : <EOL> os . system ( '<STR_LIT>' + url ) <EOL> @ shared_task <EOL> def speak ( args ) : <EOL> message = args [ '<STR_LIT>' ] <EOL> os . system ( '<STR_LIT>' + message + '<STR_LIT>' ) </s>
