Update app.py
Browse files
app.py
CHANGED
|
@@ -437,16 +437,16 @@ if st.button("Fetch Sentiment Data"):
|
|
| 437 |
"audio_url": audio_path,
|
| 438 |
}
|
| 439 |
|
| 440 |
-
|
| 441 |
-
|
| 442 |
|
| 443 |
-
|
| 444 |
-
|
| 445 |
|
| 446 |
-
|
| 447 |
-
|
| 448 |
if audio_file:
|
| 449 |
-
|
| 450 |
|
| 451 |
except requests.exceptions.RequestException as e:
|
| 452 |
st.error(f"Error fetching data: {e}")
|
|
|
|
| 437 |
"audio_url": audio_path,
|
| 438 |
}
|
| 439 |
|
| 440 |
+
st.subheader("Company Name")
|
| 441 |
+
st.write(output_dict.get("company_name"))
|
| 442 |
|
| 443 |
+
st.subheader("Final Report")
|
| 444 |
+
st.write(output_dict.get("final_report"))
|
| 445 |
|
| 446 |
+
st.subheader("🔊 Audio Output")
|
| 447 |
+
audio_file = "output.mp3"
|
| 448 |
if audio_file:
|
| 449 |
+
st.audio(audio_file)
|
| 450 |
|
| 451 |
except requests.exceptions.RequestException as e:
|
| 452 |
st.error(f"Error fetching data: {e}")
|