fix
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ import pathlib
|
|
5 |
import time
|
6 |
import tempfile
|
7 |
from pathlib import Path
|
8 |
-
|
|
|
9 |
os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
|
10 |
import torch
|
11 |
import torchaudio
|
|
|
5 |
import time
|
6 |
import tempfile
|
7 |
from pathlib import Path
|
8 |
+
temp = pathlib.WindowsPath
|
9 |
+
pathlib.WindowsPath = pathlib.PosixPath
|
10 |
os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
|
11 |
import torch
|
12 |
import torchaudio
|