BlueRey commited on
Commit
db3ce59
·
1 Parent(s): 62d9a56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 text:
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")