Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,8 @@ def run_aim():
|
|
21 |
cache_dir = "."
|
22 |
)
|
23 |
"""
|
24 |
-
subprocess.run(["unzip", "
|
25 |
-
subprocess.run(["mv", "aim/", "
|
26 |
time.sleep(5)
|
27 |
cmd = f"aim up --host {HOST} --port {PORT} --dev".split()
|
28 |
subprocess.run(cmd)
|
|
|
21 |
cache_dir = "."
|
22 |
)
|
23 |
"""
|
24 |
+
subprocess.run(["unzip", "test.zip", "-d", "/home/user/app/"])
|
25 |
+
subprocess.run(["mv", "/home/user/app/test/.aim/", "/home/user/app/.aim/"])
|
26 |
time.sleep(5)
|
27 |
cmd = f"aim up --host {HOST} --port {PORT} --dev".split()
|
28 |
subprocess.run(cmd)
|