Spaces:
Runtime error
Runtime error
juancopi81
commited on
Commit
•
cbb24c2
1
Parent(s):
3e79bbd
Add libraries
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ from diffusers import StableDiffusionPipeline
|
|
5 |
import gradio as gr
|
6 |
import torch
|
7 |
|
|
|
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
10 |
|
|
|
5 |
import gradio as gr
|
6 |
import torch
|
7 |
|
8 |
+
from spectro import wav_bytes_from_spectrogram_image
|
9 |
+
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
12 |
|