stmnk commited on
Commit
31cc6b4
1 Parent(s): 6f2b06c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,5 +33,5 @@ if st.button('Run QA inference (get answer prediction)'):
33
  st.write(f'Answer context (and score): ... _{answer_context}_ ... (score: {format(answer_score, ".3f")})')
34
 
35
  st.write(f'Answer JSON: '); st.write(qa_result)
36
- else:
37
  st.write('Write some passage of text and a question'); st.stop()
33
  st.write(f'Answer context (and score): ... _{answer_context}_ ... (score: {format(answer_score, ".3f")})')
34
 
35
  st.write(f'Answer JSON: '); st.write(qa_result)
36
+ else: # empty question or paragraph
37
  st.write('Write some passage of text and a question'); st.stop()