Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def load_audio(filename):
|
|
87 |
|
88 |
@spaces.GPU
|
89 |
def predict(audio_path, question):
|
90 |
-
model
|
91 |
print('audio path, ', audio_path)
|
92 |
begin_time = time.time()
|
93 |
|
|
|
87 |
|
88 |
@spaces.GPU
|
89 |
def predict(audio_path, question):
|
90 |
+
model.to(device)
|
91 |
print('audio path, ', audio_path)
|
92 |
begin_time = time.time()
|
93 |
|