Spaces:
Sleeping
Sleeping
ALeLacheur
commited on
Commit
•
854d436
1
Parent(s):
e5d0122
Update audio_diffusion_attacks_forhf/src/music_gen.py
Browse files
audio_diffusion_attacks_forhf/src/music_gen.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoProcessor, MusicgenForConditionalGeneration
|
|
3 |
import torchaudio
|
4 |
import torch
|
5 |
#Andy edited: import losses
|
6 |
-
import audio_diffusion_attacks_forhf.src.losses
|
7 |
from audiotools import AudioSignal
|
8 |
|
9 |
class MusicGenEval:
|
|
|
3 |
import torchaudio
|
4 |
import torch
|
5 |
#Andy edited: import losses
|
6 |
+
import audio_diffusion_attacks_forhf.src.losses as losses
|
7 |
from audiotools import AudioSignal
|
8 |
|
9 |
class MusicGenEval:
|