Skip to content

Commit

Permalink
Places format calls inside print function calls. [(#995)](#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and danoscarmike committed Sep 30, 2020
1 parent a89e6ab commit 137289e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions videointelligence/samples/analyze/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ def analyze_safe_search(path):
"Likely", "Very likely")

for note in safe_annotations:
print('Time: {}s').format(note.time_offset / 1000000.0)
print('\tadult: {}').format(likely_string[note.adult])
print('\tspoof: {}').format(likely_string[note.spoof])
print('\tmedical: {}').format(likely_string[note.medical])
print('\tracy: {}').format(likely_string[note.racy])
print('\tviolent: {}\n').format(likely_string[note.violent])
print('Time: {}s'.format(note.time_offset / 1000000.0))
print('\tadult: {}'.format(likely_string[note.adult]))
print('\tspoof: {}'.format(likely_string[note.spoof]))
print('\tmedical: {}'.format(likely_string[note.medical]))
print('\tracy: {}'.format(likely_string[note.racy]))
print('\tviolent: {}\n'.format(likely_string[note.violent]))


def analyze_faces(path):
Expand Down

0 comments on commit 137289e

Please sign in to comment.