Spaces:
Runtime error
Runtime error
File size: 358 Bytes
e12b49b 26cd3ca e12b49b 400b425 22f0c18 e12b49b f655f7f 26cd3ca e12b49b 786238d e12b49b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# 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()
|