Update app.py
Browse files
app.py
CHANGED
|
@@ -445,8 +445,7 @@ if st.button("Fetch Sentiment Data"):
|
|
| 445 |
st.write(output_dict.get("final_report"))
|
| 446 |
|
| 447 |
st.subheader("🔊 Audio Output")
|
| 448 |
-
|
| 449 |
-
if audio_file:
|
| 450 |
st.audio(audio_file)
|
| 451 |
|
| 452 |
except requests.exceptions.RequestException as e:
|
|
|
|
| 445 |
st.write(output_dict.get("final_report"))
|
| 446 |
|
| 447 |
st.subheader("🔊 Audio Output")
|
| 448 |
+
with open("output.mp3", "rb") as audio_file:
|
|
|
|
| 449 |
st.audio(audio_file)
|
| 450 |
|
| 451 |
except requests.exceptions.RequestException as e:
|