muellerzr HF staff commited on
Commit
9b0a28f
1 Parent(s): 36c05c2

Try with /api?

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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():