Update functions.py
Browse files- functions.py +2 -2
functions.py
CHANGED
@@ -516,9 +516,9 @@ def generate_eval(raw_text, N, chunk):
|
|
516 |
st.warning('Error generating question %s.' % str(i+1), icon="⚠️")
|
517 |
#st.write(e)
|
518 |
eval_set_full = list(itertools.chain.from_iterable(eval_set))
|
519 |
-
|
520 |
update.empty()
|
521 |
-
|
|
|
522 |
return eval_set_full
|
523 |
|
524 |
@st.cache_resource
|
|
|
516 |
st.warning('Error generating question %s.' % str(i+1), icon="⚠️")
|
517 |
#st.write(e)
|
518 |
eval_set_full = list(itertools.chain.from_iterable(eval_set))
|
|
|
519 |
update.empty()
|
520 |
+
ques_update.empty()
|
521 |
+
|
522 |
return eval_set_full
|
523 |
|
524 |
@st.cache_resource
|