import streamlit as st # Titolo st.title("AI for Communication and inclusion") st.header("Graph to text") # File path demo_video_path = "GTT demo.mp4" pitch_video_path = "GTT pitch.MP4" pptx_file = "6_Nicola_Diversity and Inclusion_6.2.2025.pptx" # GTT contents st.subheader("Watch the demo") st.video(demo_video_path) st.subheader("Watch the pitch") st.video(pitch_video_path) st.subheader("Discover the presentation") with open(pptx_file, "rb") as file: st.download_button( label="📥 Download the presentation", data=file, file_name="6_Nicola_Diversity and Inclusion_6.2.2025.pptx", mime="application/vnd.openxmlformats-officedocument.presentationml.presentation" ) # Other projects st.header("Other projects") st.subheader("Inclusive language converter: test file") pdf_file = "Testo non inclusivo.pdf" # Sostituisci con il nome del file with open(pdf_file, "rb") as file: st.download_button( label="📥 Download the test file", data=file, file_name="Testo non inclusivo.pdf", mime="application/pdf" ) st.subheader("Document accessibility assistant: test file") docx_file = "Documento non accessibile.docx" with open(docx_file, "rb") as file: st.download_button( label="📥 Download the test file", data=file, file_name="Documento non accessibile.docx", mime="application/vnd.openxmlformats-officedocument.wordprocessingml.document" ) st.subheader("Classify posts, gather information of views and likes in VIVA Engage: test file") docx_file = "VIVA-Diversità.docx" with open(docx_file, "rb") as file: st.download_button( label="📥 Download the test file", data=file, file_name="VIVA-Diversità.docx", mime="application/vnd.openxmlformats-officedocument.wordprocessingml.document" )