From 5a1e98e3ff6f30faba06c8d7dc337158ab6fc4a0 Mon Sep 17 00:00:00 2001 From: Julian Risch Date: Tue, 17 May 2022 16:06:44 +0200 Subject: [PATCH] Update scriptrunner module path for streamlit ui (#2566) * Pin streamlit version to <1.9.0 * update scriptrunner module path for streamlit ui --- ui/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/webapp.py b/ui/webapp.py index 1ddaeae4a..85904cd57 100644 --- a/ui/webapp.py +++ b/ui/webapp.py @@ -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 = (