Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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 ...")
|