lep1 commited on
Commit
a2d2c17
1 Parent(s): c6b09f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -107,7 +107,8 @@ try:
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 ...")
 
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
+ result += str_left_to_right + "\n"
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 ...")