LVKinyanjui commited on
Commit
d7d7ec2
1 Parent(s): 2330399

Mods to prevent hashing of model which will fail

Browse files

Requires adding an underscore to the argument that represents the model to be passed in.

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def load_model():
31
  return pipe
32
 
33
  @st.cache_data
34
- def transcribe(pipe, sample):
35
- result = pipe(sample, return_timestamps=True)
36
  return result["text"]
37
 
38
 
 
31
  return pipe
32
 
33
  @st.cache_data
34
+ def transcribe(_pipe, sample):
35
+ result = _pipe(sample, return_timestamps=True)
36
  return result["text"]
37
 
38