File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ print(result_upload)
1515```
1616Save the upload_url. You can use this url link in the rest of the calls.
1717
18+
18192- Submit your audio file for transcription
1920```
2021upload_url=upload_url
@@ -25,15 +26,19 @@ print(result_transcribe)
2526```
2627Save the id in the response object.
2728
29+
28303 - Check the status and get the text result of the transcription
2931```
3032job_id= id
31- result = speect_to_text.status(job_id,API_KEY, model_choice=model_choice)
33+ result_status = speect_to_text.status(job_id,API_KEY, model_choice=model_choice)
3234
35+ ### get the full details of the result
36+ print(result_status)
37+ ### get the text reulst only
3338print(json.loads(result)["text"])
39+ ```
3440
3541
36- ```
37- Next steps:
42+ et voilà, Next steps:
3843- pip install slashml
3944- add SLASH_API_KEY to sys path
You can’t perform that action at this time.
0 commit comments