code: def open_link(url, new_tab=True):
      """Dirty hack to open a new web page with a streamlit button."""
      # From: https://discuss.streamlit.io/t/how-to-link-a-button-to-a-webpage/1661/3
      if new_tab:
          js = f"window.open('{url}')"  # New tab or window
      else:
          js = f"window.location.href = '{url}'"  # Current tab
      html = '<img src onerror="{}">'.format(js)
      div = Div(text=html)
      st.bokeh_chart(div)
  
file_path: traingenerator/app/utils.py
imports: import streamlit
  import pickle
  import pandas
  import json
  import base64
  import uuid
  import re
  import jupytext
  from bokeh.models.widgets import Div
  import math
  import importlib.util
label_desc: Use image node_id 5 for calling a global function with example usage: open_link(url, new_tab) without return types