Heiko Hotz commited on
Commit
9eabb27
1 Parent(s): 9b6d1c0

initial commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ if st.button('Analyze'):
131
  if (not len(paragraph)==0) and not (len(question)==0):
132
  print('getting predictions')
133
  with st.spinner(text='Analysis in progress...'):
134
- predictions = run_prediction([question], paragraph, 'akdeniz27/roberta-base-cuad',
135
  n_best_size=10)
136
  answer = ""
137
  if predictions['0'] == "":
 
131
  if (not len(paragraph)==0) and not (len(question)==0):
132
  print('getting predictions')
133
  with st.spinner(text='Analysis in progress...'):
134
+ predictions = run_prediction([question], paragraph, 'marshmellow77/roberta-base-cuad',
135
  n_best_size=10)
136
  answer = ""
137
  if predictions['0'] == "":