Update scriptrunner module path for streamlit ui (#2566)

* Pin streamlit version to <1.9.0

* update scriptrunner module path for streamlit ui
This commit is contained in:
Julian Risch 2022-05-17 16:06:44 +02:00 committed by GitHub
parent 70ca1e9fc6
commit 5a1e98e3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ Ask any question on this topic and see if Haystack can find the correct answer t
st.session_state.random_question_requested = True
# Re-runs the script setting the random question as the textbox value
# Unfortunately necessary as the Random Question button is _below_ the textbox
raise st.script_runner.RerunException(st.script_request_queue.RerunData(None))
raise st.scriptrunner.script_runner.RerunException(st.scriptrunner.script_requests.RerunData(None))
st.session_state.random_question_requested = False
run_query = (