code: def upload_file():
      if request.method == "POST":
          if "file" not in request.files:
              flash("No file detected")
              return redirect(request.url)
          file = request.files["file"]
          if file.filename == "":
              flash("No selected file")
              return redirect(request.url)
          if file and allowed_file(file.filename):
              filename = secure_filename(file.filename)
              file.save(
                  os.path.join(app.config["UPLOAD_FOLDER"], filename)
              )
              path = Path(UPLOAD_FOLDER + "/" + filename)
              if path.is_file():
                  flash("File uploaded")
                  return {"response": "File saved"}
              else:
                  flash("Failed to upload file")
                  return redirect(request.url)
      return """<html>
                  <body>
                      <form method="POST"
                          enctype = "multipart/form-data">
                          <input type = "file" name = "file" />
                          <input type = "submit"/>
                      </form>
                  </body>
              </html>"""
  
file_path: evadb/apps/rest/run_evadb.py
imports: import os
  from pathlib import Path
  from flask import Flask, flash, redirect, request
  from flask_restful import Api
  from werkzeug.utils import secure_filename
  import evadb
label_desc: Use image node_id 3 for calling a global function with example usage: upload_file() and returns: str, redirect, redirect, dict, redirect