nicolacaione commited on
Commit
6bbe968
·
verified ·
1 Parent(s): 4edd239

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -4
app.py CHANGED
@@ -4,12 +4,12 @@ import streamlit as st
4
  st.title("GTT demo")
5
 
6
  # Percorso del file video (può essere locale o un URL)
7
- video_path = "GTT demo.mp4" # Cambia con il tuo file o link
8
 
9
  # Mostra il video
10
- st.video(video_path)
11
 
12
- st.title("Download the GTT presentation")
13
 
14
  pptx_file = "6_Nicola_Diversity and Inclusion_6.2.2025.pptx" # Cambia con il nome del file
15
  with open(pptx_file, "rb") as file:
@@ -18,4 +18,16 @@ with open(pptx_file, "rb") as file:
18
  data=file,
19
  file_name="6_Nicola_Diversity and Inclusion_6.2.2025.pptx",
20
  mime="application/vnd.openxmlformats-officedocument.presentationml.presentation"
21
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  st.title("GTT demo")
5
 
6
  # Percorso del file video (può essere locale o un URL)
7
+ demo_video_path = "GTT demo.mp4" # Cambia con il tuo file o link
8
 
9
  # Mostra il video
10
+ st.video(demo_video_path)
11
 
12
+ st.title("Download the GTT demo")
13
 
14
  pptx_file = "6_Nicola_Diversity and Inclusion_6.2.2025.pptx" # Cambia con il nome del file
15
  with open(pptx_file, "rb") as file:
 
18
  data=file,
19
  file_name="6_Nicola_Diversity and Inclusion_6.2.2025.pptx",
20
  mime="application/vnd.openxmlformats-officedocument.presentationml.presentation"
21
+ )
22
+
23
+ st.title("Inclusive language converter: test file")
24
+
25
+ pdf_file = "Testo non inclusivo.pdf" # Sostituisci con il nome del file
26
+ with open(pdf_file, "rb") as file:
27
+ st.download_button(
28
+ label="📥 Download the test file",
29
+ data=file,
30
+ file_name="Testo non inclusivo.pdf",
31
+ mime="application/pdf"
32
+ )
33
+