Ejemplo n.º 1
0
 def POST(self, pitch_key):
     p = pitch.get_pitch_by_key(pitch_key)
     storage = web.input()
     transcription = storage["result[transcription]"]
     pitch.save_transcription(p['pitch_id'], transcription)
Ejemplo n.º 2
0
 def POST(self, pitch_key):
     p = pitch.get_pitch_by_key(pitch_key)
     recording = web.input()['filename']
     self.s3_upload(p['pitch_id'], recording)