Zw07 commited on
Commit
2ac0b62
verified
1 Parent(s): 8deac30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"