Spaces:
Runtime error
Runtime error
Try from unzipping in pwd
Browse files
app.py
CHANGED
@@ -19,10 +19,10 @@ def run_aim():
|
|
19 |
filename=filename,
|
20 |
cache_dir = "."
|
21 |
)
|
22 |
-
subprocess.run(
|
23 |
time.sleep(5)
|
24 |
cmd = f"aim up --host {HOST} --port {PORT}".split()
|
25 |
-
subprocess.run(cmd
|
26 |
|
27 |
|
28 |
html = f"""
|
|
|
19 |
filename=filename,
|
20 |
cache_dir = "."
|
21 |
)
|
22 |
+
subprocess.run(["unzip", f, "-d", "."])
|
23 |
time.sleep(5)
|
24 |
cmd = f"aim up --host {HOST} --port {PORT}".split()
|
25 |
+
subprocess.run(cmd)
|
26 |
|
27 |
|
28 |
html = f"""
|