lep1 commited on
Commit
c4cb056
·
verified ·
1 Parent(s): 6a12e25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,8 +110,8 @@ try:
110
  st.write(str_left_to_right)
111
 
112
  # Convert detected Braille text to audio and play
113
- if detected_text:
114
- audio_file_path = generate_audio(detected_text)
115
 
116
  except Exception as ex:
117
  st.write("Please try again with images with types of JPG, JPEG, PNG ...")
 
110
  st.write(str_left_to_right)
111
 
112
  # Convert detected Braille text to audio and play
113
+ if detected_text:
114
+ audio_file_path = generate_audio(detected_text)
115
 
116
  except Exception as ex:
117
  st.write("Please try again with images with types of JPG, JPEG, PNG ...")