Update app.py
Browse files
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 |
-
|
149 |
-
|
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)
|
|
|
|