seonglae commited on
Commit
26e6019
1 Parent(s): d4f2948

style: increase short answer question & reduce text area

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ INITIAL = "What is the population of NYC"
15
  st.set_page_config(page_title=TITLE)
16
  st.header(TITLE)
17
  st.markdown('''
18
- <h6>Ask short-answer question that can be find in Wikipedia data.</h6>
19
  ''', unsafe_allow_html=True)
20
  st.markdown('This demo retrieves the original context from 21,000,000 wikipedia passages in real-time')
21
 
@@ -55,7 +55,7 @@ styl = """
55
  st.markdown(styl, unsafe_allow_html=True)
56
 
57
 
58
- question = st.text_area("Text to summarize", INITIAL)
59
 
60
 
61
  @torch.inference_mode()
 
15
  st.set_page_config(page_title=TITLE)
16
  st.header(TITLE)
17
  st.markdown('''
18
+ <h5>Ask short-answer question that can be find in Wikipedia data.</h5>
19
  ''', unsafe_allow_html=True)
20
  st.markdown('This demo retrieves the original context from 21,000,000 wikipedia passages in real-time')
21
 
 
55
  st.markdown(styl, unsafe_allow_html=True)
56
 
57
 
58
+ question = st.text_input("Question", INITIAL)
59
 
60
 
61
  @torch.inference_mode()