Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ question_placeholder = st.empty()
|
|
34 |
with question_placeholder:
|
35 |
question = st.text_area('Enter question: ', key = 'question')
|
36 |
|
37 |
-
if
|
38 |
st.subheader('MendoBERT')
|
39 |
st.write(model(context=context, question=question))
|
40 |
st.write("\n")
|
|
|
34 |
with question_placeholder:
|
35 |
question = st.text_area('Enter question: ', key = 'question')
|
36 |
|
37 |
+
if context and question:
|
38 |
st.subheader('MendoBERT')
|
39 |
st.write(model(context=context, question=question))
|
40 |
st.write("\n")
|