wldmr commited on
Commit
c05de66
1 Parent(s): 8b34532
Files changed (1) hide show
  1. transcript.py +2 -2
transcript.py CHANGED
@@ -110,8 +110,8 @@ def convertToJSON(dsl):
110
  # open image and convert it to base64 image
111
  with open(workdir+image, 'rb') as open_file:
112
  byte_content = open_file.read()
113
- base64_bytes = base64.b64encode(byte_content)
114
- base64_string = base64_bytes.decode('utf-8')
115
 
116
  sentence = val
117
  row = '{"image_id": "'+str(cnt)+'",'
 
110
  # open image and convert it to base64 image
111
  with open(workdir+image, 'rb') as open_file:
112
  byte_content = open_file.read()
113
+ base64_bytes = base64.b64encode(byte_content)
114
+ base64_string = base64_bytes.decode('utf-8')
115
 
116
  sentence = val
117
  row = '{"image_id": "'+str(cnt)+'",'