Skip to content

Commit

Permalink
Merge pull request #17 from aws-samples/intent
Browse files Browse the repository at this point in the history
add is_visualization_config_changed
  • Loading branch information
supinyu authored Apr 10, 2024
2 parents f304a42 + 74b962b commit 6a68d50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/pages/1_🌍_Natural_Language_Querying.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,10 @@ def main():
on_click=sample_question_clicked,
args=[gen_sq_list[2]])
else:
st.error("Please enter a valid query.")
# st.error("Please enter a valid query.")
if current_nlq_chain.is_visualization_config_changed():
if visualize_results:
do_visualize_results(current_nlq_chain)


if __name__ == '__main__':
Expand Down

0 comments on commit 6a68d50

Please sign in to comment.