lep1 commited on
Commit
c6b09f2
·
verified ·
1 Parent(s): 4bac9ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -106,9 +106,8 @@ try:
106
  box_classes = box_line[:, -1]
107
  for each_class in box_classes:
108
  str_left_to_right += convert_to_braille_unicode(model.names[int(each_class)])
109
- result = str_left_to_right + "\n"
110
  st.write(str_left_to_right)
111
- audio_file_path = generate_audio(result)
112
 
113
  except Exception as ex:
114
  st.write("Please try again with images with types of JPG, JPEG, PNG ...")
 
106
  box_classes = box_line[:, -1]
107
  for each_class in box_classes:
108
  str_left_to_right += convert_to_braille_unicode(model.names[int(each_class)])
 
109
  st.write(str_left_to_right)
110
+ audio_file_path = generate_audio(str_left_to_right)
111
 
112
  except Exception as ex:
113
  st.write("Please try again with images with types of JPG, JPEG, PNG ...")