Spaces:
Build error
Build error
Heiko Hotz
commited on
Commit
·
9eabb27
1
Parent(s):
9b6d1c0
initial commit
Browse files
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, '
|
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'] == "":
|