Update app.py
Browse files
app.py
CHANGED
@@ -82,11 +82,11 @@ def main():
|
|
82 |
|
83 |
|
84 |
if __name__ == "__main__":
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
# model = wavmark.load_model().to(device)
|
91 |
main()
|
92 |
|
|
|
82 |
|
83 |
|
84 |
if __name__ == "__main__":
|
85 |
+
default_sr = 16000
|
86 |
+
max_second_encode = 60
|
87 |
+
max_second_decode = 30
|
88 |
+
len_start_bit = 16
|
89 |
+
device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
|
90 |
# model = wavmark.load_model().to(device)
|
91 |
main()
|
92 |
|