# Launch AIM import subprocess import os from huggingface_hub import hf_hub_download import gradio as gr import time PORT = 7860 HOST = "localhost" REPO_ID = "muellerzr/bert-base-cased-tpu-accelerate-experiments" def run_aim(): cmd = f"aim up --host {HOST} --port {PORT}".split() subprocess.Popen(cmd) if __name__ == "__main__": run_aim()