Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ import json
|
|
| 5 |
import os
|
| 6 |
import requests
|
| 7 |
import torch
|
| 8 |
-
import numpy
|
| 9 |
from datetime import timedelta
|
| 10 |
from pyannote.audio import Pipeline
|
| 11 |
from huggingface_hub import hf_hub_download
|
|
@@ -140,7 +139,7 @@ if uploaded_file:
|
|
| 140 |
Resolution,
|
| 141 |
numpy.dtype,
|
| 142 |
torch.nn.modules.container.ModuleList,
|
| 143 |
-
numpy.core.multiarray.scalar
|
| 144 |
])
|
| 145 |
except AttributeError:
|
| 146 |
pass
|
|
|
|
| 5 |
import os
|
| 6 |
import requests
|
| 7 |
import torch
|
|
|
|
| 8 |
from datetime import timedelta
|
| 9 |
from pyannote.audio import Pipeline
|
| 10 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 139 |
Resolution,
|
| 140 |
numpy.dtype,
|
| 141 |
torch.nn.modules.container.ModuleList,
|
| 142 |
+
numpy.core.multiarray.scalar
|
| 143 |
])
|
| 144 |
except AttributeError:
|
| 145 |
pass
|