Spaces:
sonalkum
/
Running on Zero

sonalkum commited on
Commit
b8080eb
·
verified ·
1 Parent(s): 1b71190

Update app.py

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