Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ HOST = "0.0.0.0"
|
|
12 |
REPO_ID = "muellerzr/bert-base-cased-tpu-accelerate-experiments"
|
13 |
|
14 |
def run_aim():
|
|
|
15 |
filename = "aim_logs.zip"
|
16 |
f = hf_hub_download(
|
17 |
repo_id=REPO_ID,
|
@@ -19,7 +20,8 @@ def run_aim():
|
|
19 |
filename=filename,
|
20 |
cache_dir = "."
|
21 |
)
|
22 |
-
|
|
|
23 |
time.sleep(5)
|
24 |
cmd = f"aim up --host {HOST} --port {PORT}".split()
|
25 |
subprocess.run(cmd)
|
|
|
12 |
REPO_ID = "muellerzr/bert-base-cased-tpu-accelerate-experiments"
|
13 |
|
14 |
def run_aim():
|
15 |
+
"""
|
16 |
filename = "aim_logs.zip"
|
17 |
f = hf_hub_download(
|
18 |
repo_id=REPO_ID,
|
|
|
20 |
filename=filename,
|
21 |
cache_dir = "."
|
22 |
)
|
23 |
+
"""
|
24 |
+
subprocess.run(["unzip", "aim_logs_good(1).zip", "-d", "."])
|
25 |
time.sleep(5)
|
26 |
cmd = f"aim up --host {HOST} --port {PORT}".split()
|
27 |
subprocess.run(cmd)
|