Spaces:
Runtime error
Runtime error
vvv-knyazeva
commited on
Commit
β’
21c037f
1
Parent(s):
f808445
Update pages/answers.py
Browse files- pages/answers.py +2 -2
pages/answers.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
|
|
3 |
from streamlit_extras.let_it_rain import rain
|
4 |
|
5 |
rain(
|
6 |
-
emoji="
|
7 |
font_size=54,
|
8 |
falling_speed=5,
|
9 |
animation_length="infinite",
|
@@ -23,7 +23,7 @@ def get_answer(context, question):
|
|
23 |
def main():
|
24 |
st.title("Question Answering App :robot_face:")
|
25 |
st.divider()
|
26 |
-
st.markdown("### **Enter the context and question, then click on :blue[
|
27 |
|
28 |
|
29 |
context = st.text_area("**:red[Context]**", "Enter the context here...")
|
|
|
3 |
from streamlit_extras.let_it_rain import rain
|
4 |
|
5 |
rain(
|
6 |
+
emoji="β",
|
7 |
font_size=54,
|
8 |
falling_speed=5,
|
9 |
animation_length="infinite",
|
|
|
23 |
def main():
|
24 |
st.title("Question Answering App :robot_face:")
|
25 |
st.divider()
|
26 |
+
st.markdown("### **Enter the context and question, then click on ':blue[Get Answer]' to retrieve the answer:**")
|
27 |
|
28 |
|
29 |
context = st.text_area("**:red[Context]**", "Enter the context here...")
|