From 43a2475bb300d3a3c2cd03d7c8d32b7cefcd2465 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Dec 2024 21:56:40 +0000 Subject: [PATCH] Automatic code formatting. --- txt2spec.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/txt2spec.py b/txt2spec.py index 41dd2ec..ec5f017 100644 --- a/txt2spec.py +++ b/txt2spec.py @@ -1,13 +1,13 @@ -import numpy as np -import matplotlib.pyplot as plt -from PIL import Image, ImageDraw, ImageFont +import logging +import tempfile + +import gradio as gr import librosa import librosa.display -import gradio as gr +import matplotlib.pyplot as plt +import numpy as np import soundfile as sf -import os -import logging -import tempfile +from PIL import Image, ImageDraw, ImageFont # Constants DEFAULT_FONT_PATH = "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf"