muellerzr HF staff commited on
Commit
4a4d6de
1 Parent(s): 926251b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ def run_aim():
25
  subprocess.run(["unzip", "test.zip"])
26
  subprocess.run(["mv", "test/.aim/", "/home/user/app/.aim/"])
27
  time.sleep(3)
28
- cmd = f"aim up --host 0.0.0.0 --port 7860 --dev &"
29
- subprocess.run(cmd, shell=True)
30
 
31
  """
32
  style "";
 
25
  subprocess.run(["unzip", "test.zip"])
26
  subprocess.run(["mv", "test/.aim/", "/home/user/app/.aim/"])
27
  time.sleep(3)
28
+ cmd = f"aim up --host 0.0.0.0 --port 7860 --dev"
29
+ subprocess.run(cmd)
30
 
31
  """
32
  style "";