mostafaashahin commited on
Commit
50aa7b7
1 Parent(s): 0374328

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -50,7 +50,7 @@ class PreTrainedPipeline():
50
  # For instance your model, processors, tokenizer that might be needed.
51
  # This function is only called once, so do all the heavy processing I/O here"""
52
  self.sampling_rate = 16000
53
- print('Init')
54
 
55
  self.processor = Wav2Vec2Processor.from_pretrained(path)
56
  self.model = Wav2Vec2ForCTC.from_pretrained(path)
 
50
  # For instance your model, processors, tokenizer that might be needed.
51
  # This function is only called once, so do all the heavy processing I/O here"""
52
  self.sampling_rate = 16000
53
+ assert 1==0, "Init"
54
 
55
  self.processor = Wav2Vec2Processor.from_pretrained(path)
56
  self.model = Wav2Vec2ForCTC.from_pretrained(path)