peter2000 commited on
Commit
ef80c58
1 Parent(s): 025c855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -15,7 +15,7 @@ import streamlit as st
15
  def load_model():
16
  return KeyBERT()
17
 
18
- def read_(file):
19
  if file is not None:
20
  text = []
21
  with pdfplumber.open(file) as pdf:
@@ -31,8 +31,10 @@ st.sidebar.image(
31
  use_column_width=True
32
  )
33
 
34
- st.sidebar.container():
35
  file = st.file_uploader('Upload PDF File', type=['pdf'])
 
 
36
  st.sidebar.title(
37
  "Options:"
38
  )
 
15
  def load_model():
16
  return KeyBERT()
17
 
18
+ def read_(file):
19
  if file is not None:
20
  text = []
21
  with pdfplumber.open(file) as pdf:
 
31
  use_column_width=True
32
  )
33
 
34
+ st.sidebar.container(:
35
  file = st.file_uploader('Upload PDF File', type=['pdf'])
36
+ )
37
+
38
  st.sidebar.title(
39
  "Options:"
40
  )