adil9858 commited on
Commit
c2d4854
·
verified ·
1 Parent(s): 18d3942

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -145,7 +145,5 @@ if img_file_buffer is not None:
145
  st.write(description)
146
 
147
  # Convert description to speech and play it
148
- if st.button("🔊 Read Aloud"):
149
- tts(description)
150
- except Exception as e:
151
- st.error(f"An error occurred: {e}")
 
145
  st.write(description)
146
 
147
  # Convert description to speech and play it
148
+
149
+ tts(description)