From 5aca13e14d9109d61b219617ae87b8b0d29837b3 Mon Sep 17 00:00:00 2001 From: Bryon Lewis Date: Thu, 2 May 2024 16:16:13 -0400 Subject: [PATCH] fix-presigned url --- bats_ai/core/views/recording.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bats_ai/core/views/recording.py b/bats_ai/core/views/recording.py index a56bcbb..e7c892c 100644 --- a/bats_ai/core/views/recording.py +++ b/bats_ai/core/views/recording.py @@ -342,10 +342,6 @@ def get_spectrogram_compressed(request: HttpRequest, id: int): except recording.DoesNotExist: return {'error': 'Recording does not exist'} - with colormap(): - label, score, confs = compressed_spectrogram.predict() - print(label, score, confs) - spectro_data = { 'url': compressed_spectrogram.image_url, 'spectroInfo': {