code: def get_file_input() -> List[str]:
      """
      Allows user to submit files for analysis.
  
      @return: List of strings containing the file contents of each submitted file. The i-th element of res is the
      string representing the i-th file uploaded.
      """
      st.markdown("""**Alternatively, upload file(s) to analyze.**""")
      uploaded_files = st.file_uploader(
          "button_label",
          accept_multiple_files=True,
          label_visibility="collapsed",
      )
      res = []
      for file in uploaded_files:
          stringio = StringIO(file.getvalue().decode("utf-8"))
          string_data = stringio.read()
          res.append(string_data)
      return res
  
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 2 for calling a global function with example usage: get_file_input() and returns: res