Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from PyPDF2 import PdfReader
|
|
8 |
import re
|
9 |
import textwrap
|
10 |
import soundfile as sf
|
|
|
11 |
|
12 |
# Device configuration
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
8 |
import re
|
9 |
import textwrap
|
10 |
import soundfile as sf
|
11 |
+
import numpy as np
|
12 |
|
13 |
# Device configuration
|
14 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|