Spaces:
Sleeping
Sleeping
style: increase short answer question & reduce text area
Browse files
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 |
-
<
|
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.
|
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()
|