Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris committed Sep 6, 2021
1 parent c1f0151 commit 6ee1fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flash/audio/speech_recognition/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ def load_sample(self, sample: Dict[str, Any], dataset: Any = None) -> Any:

class SpeechRecognitionCSVDataSource(SpeechRecognitionFileDataSource):
def __init__(self, sampling_rate: int):
super().__init__(filetype="csv", sampling_rate=sampling_rate)
super().__init__(sampling_rate, filetype="csv")


class SpeechRecognitionJSONDataSource(SpeechRecognitionFileDataSource):
def __init__(self, sampling_rate: int):
super().__init__(filetype="json", sampling_rate=sampling_rate)
super().__init__(sampling_rate, filetype="json")


class SpeechRecognitionDatasetDataSource(DatasetDataSource, BaseSpeechRecognition):
Expand Down

0 comments on commit 6ee1fc3

Please sign in to comment.