Skip to content

Commit

Permalink
minor fixes to language id example (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlam8 committed May 6, 2022
1 parent 20fab66 commit 8ee68b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/language_identification_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
from rev_ai import language_identification_client


# String containing your access token
from rev_ai.models.customer_url_data import CustomerUrlData

# String containing your access token
access_token = "<your_access_token>"

# Create your api client
Expand All @@ -35,7 +35,7 @@
source_config=source_config,
notification_config=None)

print("Submitted Job")
print("Submitted Job: {}".format(job.id))

while True:
# Obtains details of a job in json format
Expand Down Expand Up @@ -79,5 +79,7 @@
# if you're sure you want to delete the job.
#
# client.delete_job(job.id)
#
# print("Deleted Job: {}".format(job.id))

print("Job Submission and Collection Finished.")

0 comments on commit 8ee68b6

Please sign in to comment.