code: def run_app(debug: bool = True, bind_all: bool = False):
      if bind_all:
          app.run(
              port=port, use_reloader=False, debug=debug, host="0.0.0.0"
          )
      else:
          app.run(port=port, use_reloader=False, debug=debug)
  
file_path: captum/captum/insights/attr_vis/server.py
imports: import logging
  import os
  import socket
  import threading
  from time import sleep
  from typing import Optional
  from captum.log import log_usage
  from flask import Flask, jsonify, render_template, request
  from flask_compress import Compress
  from torch import Tensor
label_desc: Use image node_id 7 for calling a global function with example usage: run_app(debug, bind_all) without return types