Skip to content

Commit af50882

Browse files
committed
changing name of import
1 parent 58036c1 commit af50882

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

File renamed without changes.

src/test_speechtotext_1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import speechtotext
1+
import slashml
22
import os
33

44
#API KEY (optional)
55

66
# set environment path
77
os.environ["SLASHML_API_KEY"] = "0d91bfede9c5c9de6ff1d5610ef71c3b6d5be9ee"
88
# Initialize SlashML
9-
speect_to_text = speechtotext.SpeechToText()
9+
speect_to_text = slashml.SpeechToText()
1010
# optional local file to upload, if not an accessible url
1111
file_location="/Users/JJneid/Desktop/SlashMl/Benchmarking/podcast1/podcast1_long_trim.mp3"
1212
# If your audio files aren't accessible via a URL already, you can upload your audio file using this API

0 commit comments

Comments
 (0)