Spaces:
sonalkum
/
Running on Zero

sonalkum commited on
Commit
87bf417
1 Parent(s): b8080eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def load_audio(filename):
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
 
 
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