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 leahecole committed Sep 15, 2023
1 parent cc53cdc commit af0e6fe
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 af0e6fe

Please sign in to comment.