Spaces:
Sleeping

jmuller commited on
Commit
8cfa3ad
·
1 Parent(s): a32640e

small changes

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -52,14 +52,11 @@ def get_paragraphs(soup):
52
 
53
  def get_hindex(headlines):
54
  global url
55
- sbox = st.selectbox(f"\n\n \nPick a story from NPR {url}",
 
56
  options=headlines)
57
- hindex = headlines.index(sbox)
58
- paras, pstart = get_story(hindex)
59
- #st.text(paras)
60
- return hindex
61
-
62
-
63
 
64
  def get_story(index):
65
  global links
 
52
 
53
  def get_hindex(headlines):
54
  global url
55
+ with st.container(border=True):
56
+ sbox = st.selectbox(f"\n\n \nPick a story from NPR {url}",
57
  options=headlines)
58
+ hindex = headlines.index(sbox)
59
+ return hindex
 
 
 
 
60
 
61
  def get_story(index):
62
  global links