IsmayilMasimov36 commited on
Commit
4c05ba5
·
1 Parent(s): e89cc5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,10 +4,9 @@ from pdfminer.high_level import extract_text
4
 
5
  def main():
6
  st.title("PDF Translation")
7
- st.write("Upload a PDF file and we will translate the text inside to German and French.")
8
 
9
  # Upload the pdf
10
- uploaded_file = st.file_uploader("", type=["pdf"])
11
 
12
  if uploaded_file is not None:
13
  # Extract text from pdf
 
4
 
5
  def main():
6
  st.title("PDF Translation")
 
7
 
8
  # Upload the pdf
9
+ uploaded_file = st.file_uploader("Upload a PDF file and we will translate the text inside to German and French.", type=["pdf"])
10
 
11
  if uploaded_file is not None:
12
  # Extract text from pdf