Update app.py
Browse files
app.py
CHANGED
@@ -90,6 +90,7 @@ if __name__ == "__main__":
|
|
90 |
len_start_bit = 16
|
91 |
device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
|
92 |
# model = wavmark.load_model().to(device)
|
|
|
93 |
main()
|
94 |
|
95 |
# audio_path = "/Users/my/Library/Mobile Documents/com~apple~CloudDocs/CODE/PycharmProjects/4_璇煶姘村嵃/419_huggingface姘村嵃/WavMark/example.wav"
|
|
|
90 |
len_start_bit = 16
|
91 |
device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
|
92 |
# model = wavmark.load_model().to(device)
|
93 |
+
model = AudioSeal.load_generator("audioseal_wm_16bits")
|
94 |
main()
|
95 |
|
96 |
# audio_path = "/Users/my/Library/Mobile Documents/com~apple~CloudDocs/CODE/PycharmProjects/4_璇煶姘村嵃/419_huggingface姘村嵃/WavMark/example.wav"
|