muellerzr's picture
muellerzr HF staff
Update app.py
786238d
raw
history blame
358 Bytes
# 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()