Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -105,9 +105,7 @@ try:
|
|
105 |
str_left_to_right = ""
|
106 |
box_classes = box_line[:, -1]
|
107 |
for each_class in box_classes:
|
108 |
-
str_left_to_right += convert_to_braille_unicode(
|
109 |
-
model.names[int(each_class)]
|
110 |
-
)
|
111 |
result = str_left_to_right + "\n"
|
112 |
st.write(str_left_to_right)
|
113 |
audio_file_path = generate_audio(result)
|
|
|
105 |
str_left_to_right = ""
|
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)
|