code: def receive_user_input() -> Dict:
      """Receives user input.
  
      Returns:
          user_input (dict): global configurations
      """
      print(
          "🔮 Welcome to EvaDB! This app lets you ask questions on any local or"
          " YouTube online video.\nYou will only need to supply a Youtube URL"
          " and an OpenAI API key.\n"
      )
      from_youtube = str(
          input(
              "📹 Are you querying an online Youtube video or a local video?"
              " ('yes' for online/ 'no' for local): "
          )
      ).lower() in ["y", "yes"]
      user_input = {"from_youtube": from_youtube}
  
      if from_youtube:
          # get Youtube video url
          video_link = str(
              input(
                  "🌐 Enter the URL of the YouTube video (press Enter to use our"
                  " default Youtube video URL): "
              )
          )
  
          if video_link == "":
              video_link = DEFAULT_VIDEO_LINK
          user_input["video_link"] = video_link
      else:
          video_local_path = str(
              input(
                  "💽 Enter the local path to your video (press Enter to use our"
                  " demo video): "
              )
          )
  
          if video_local_path == "":
              video_local_path = DEFAULT_VIDEO_PATH
          user_input["video_local_path"] = video_local_path
  
      # get OpenAI key if needed
      try:
          api_key = os.environ["OPENAI_API_KEY"]
      except KeyError:
          api_key = str(input("🔑 Enter your OpenAI key: "))
          os.environ["OPENAI_API_KEY"] = api_key
  
      return user_input
  
imports: import os
  import shutil
  from typing import Dict, List
  import pandas
  import evadb
  from pytube import YouTube, extract
  from youtube_transcript_api import YouTubeTranscriptApi
label_desc: Use image node_id 2 for calling a global function with example usage: receive_user_input() and returns: user_input