Spaces:
Runtime error
Runtime error
Try with /api?
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def run_aim():
|
|
16 |
subprocess.run(["unzip", "test.zip"])
|
17 |
subprocess.run(["mv", "test/.aim/", "/home/user/app/.aim/"])
|
18 |
time.sleep(3)
|
19 |
-
cmd = f"aim up --host 0.0.0.0 --port 7860 --dev".split(" ")
|
20 |
subprocess.run(cmd)
|
21 |
|
22 |
def run():
|
|
|
16 |
subprocess.run(["unzip", "test.zip"])
|
17 |
subprocess.run(["mv", "test/.aim/", "/home/user/app/.aim/"])
|
18 |
time.sleep(3)
|
19 |
+
cmd = f"aim up --host 0.0.0.0 --port 7860 --dev --base-path /api".split(" ")
|
20 |
subprocess.run(cmd)
|
21 |
|
22 |
def run():
|