code: def get_text_and_query() -> Tuple[str, str]:
      """
      Gets user input for the Semgrex text and queries to process.
  
      @return: A tuple containing the user's input text and their input queries
      """
      input_txt = st.text_area(
          "Text to analyze",
          """Banning opal removed artifact decks from the meta.""",
          placeholder="Banning opal removed artifact decks from the meta.",
      )
      input_queries = st.text_area(
          "Semgrex search queries (separate each query with a comma)",
          "{pos:NN}=object <obl {}=action, {cpos:NOUN}=thing <obj {cpos:VERB}=action",
          placeholder="""{pos:NN}=object <obl {}=action, {cpos:NOUN}=thing <obj {cpos:VERB}=action""",
      )
      return input_txt, input_queries
  
file_path: stanza/stanza/utils/visualization/semgrex_app.py
imports: import streamlit
  import streamlit.components.v1
  from semgrex_visualizer import visualize_search_str
  from semgrex_visualizer import edit_html_overflow
  from io import StringIO
  import os
  import stanza
  import typing
  from typing import List, Tuple, Any
  import argparse
label_desc: Use image node_id 1 for calling a global function with example usage: get_text_and_query() and returns: input_txt,  input_queries