add torch
Browse files- requirements.txt +2 -2
- server_editor.py +1 -1
requirements.txt
CHANGED
@@ -30,8 +30,8 @@ pypinyin
|
|
30 |
pyworld-prebuilt
|
31 |
# stable_ts
|
32 |
# tensorboard
|
33 |
-
|
34 |
-
|
35 |
transformers
|
36 |
umap-learn
|
37 |
zstandard
|
|
|
30 |
pyworld-prebuilt
|
31 |
# stable_ts
|
32 |
# tensorboard
|
33 |
+
torch
|
34 |
+
torchaudio
|
35 |
transformers
|
36 |
umap-learn
|
37 |
zstandard
|
server_editor.py
CHANGED
@@ -20,7 +20,7 @@ from typing import Optional
|
|
20 |
|
21 |
import numpy as np
|
22 |
import requests
|
23 |
-
|
24 |
import uvicorn
|
25 |
from fastapi import APIRouter, FastAPI, HTTPException, status
|
26 |
from fastapi.middleware.cors import CORSMiddleware
|
|
|
20 |
|
21 |
import numpy as np
|
22 |
import requests
|
23 |
+
import torch
|
24 |
import uvicorn
|
25 |
from fastapi import APIRouter, FastAPI, HTTPException, status
|
26 |
from fastapi.middleware.cors import CORSMiddleware
|