We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58036c1 commit af50882Copy full SHA for af50882
2 files changed
src/speechtotext.py src/slashml.pysrc/speechtotext.py renamed to src/slashml.py
src/test_speechtotext_1.py
@@ -1,12 +1,12 @@
1
-import speechtotext
+import slashml
2
import os
3
4
#API KEY (optional)
5
6
# set environment path
7
os.environ["SLASHML_API_KEY"] = "0d91bfede9c5c9de6ff1d5610ef71c3b6d5be9ee"
8
# Initialize SlashML
9
-speect_to_text = speechtotext.SpeechToText()
+speect_to_text = slashml.SpeechToText()
10
# optional local file to upload, if not an accessible url
11
file_location="/Users/JJneid/Desktop/SlashMl/Benchmarking/podcast1/podcast1_long_trim.mp3"
12
# If your audio files aren't accessible via a URL already, you can upload your audio file using this API
0 commit comments