Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ import time
|
|
4 |
import tempfile
|
5 |
import warnings
|
6 |
import soundfile as sf
|
|
|
|
|
7 |
|
8 |
# Define FastAPI app
|
9 |
app = FastAPI()
|
|
|
4 |
import tempfile
|
5 |
import warnings
|
6 |
import soundfile as sf
|
7 |
+
import torch
|
8 |
+
from transformers import pipeline
|
9 |
|
10 |
# Define FastAPI app
|
11 |
app = FastAPI()
|