Hervé BREDIN commited on
Commit
1dd275d
1 Parent(s): ffbe5dc

feat: increase limit to 10 minutes

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -22,13 +22,6 @@
22
 
23
 
24
  import torch
25
-
26
- print(f"Is CUDA available: {torch.cuda.is_available()}")
27
- # True
28
- print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
29
- # Tesla T4
30
-
31
-
32
  import io
33
  import base64
34
  import numpy as np
@@ -54,7 +47,7 @@ def to_base64(waveform: np.ndarray, sample_rate: int = 16000) -> Text:
54
 
55
 
56
  PYANNOTE_LOGO = "https://avatars.githubusercontent.com/u/7559051?s=400&v=4"
57
- EXCERPT = 30.0
58
 
59
  st.set_page_config(page_title="pyannote pretrained pipelines", page_icon=PYANNOTE_LOGO)
60
 
 
22
 
23
 
24
  import torch
 
 
 
 
 
 
 
25
  import io
26
  import base64
27
  import numpy as np
 
47
 
48
 
49
  PYANNOTE_LOGO = "https://avatars.githubusercontent.com/u/7559051?s=400&v=4"
50
+ EXCERPT = 600.0
51
 
52
  st.set_page_config(page_title="pyannote pretrained pipelines", page_icon=PYANNOTE_LOGO)
53