Skip to content

Commit 1e4ab27

Browse files
committed
Update readme.md
1 parent 0277b8d commit 1e4ab27

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

SDK_v1/readme.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ print(result_upload)
1515
```
1616
Save the upload_url. You can use this url link in the rest of the calls.
1717

18+
1819
2- Submit your audio file for transcription
1920
```
2021
upload_url=upload_url
@@ -25,15 +26,19 @@ print(result_transcribe)
2526
```
2627
Save the id in the response object.
2728

29+
2830
3 - Check the status and get the text result of the transcription
2931
```
3032
job_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
3338
print(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

0 commit comments

Comments
 (0)