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