XDHDD commited on
Commit
9a150e5
1 Parent(s): 2443cce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ import speech_recognition as speech_r
28
  from jiwer import wer
29
  import time
30
 
31
- @st.cache_resource
32
  def load_model(model):
33
  path = 'lightning_logs/version_0/checkpoints/' + str(model)
34
  onnx_model = onnx.load(path)
 
28
  from jiwer import wer
29
  import time
30
 
31
+ @st.cache
32
  def load_model(model):
33
  path = 'lightning_logs/version_0/checkpoints/' + str(model)
34
  onnx_model = onnx.load(path)