Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,16 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
from spectro import wav_bytes_from_spectrogram_image
|
5 |
from diffusers import StableDiffusionPipeline
|
|
|
1 |
import gradio as gr
|
2 |
+
"""
|
3 |
+
Audio processing tools to convert between spectrogram images and waveforms.
|
4 |
+
"""
|
5 |
+
import io
|
6 |
+
import typing as T
|
7 |
|
8 |
+
import numpy as np
|
9 |
+
from PIL import Image
|
10 |
+
import pydub
|
11 |
+
from scipy.io import wavfile
|
12 |
+
import torch
|
13 |
+
import torchaudio
|
14 |
|
15 |
from spectro import wav_bytes_from_spectrogram_image
|
16 |
from diffusers import StableDiffusionPipeline
|