abenkbp commited on
Commit
39e9306
·
1 Parent(s): bd3d489
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,8 +8,9 @@ from huggingface_hub import InferenceClient, login
8
 
9
  subprocess.run(["pip","install","--upgrade","pip"])
10
  subprocess.call
11
- subprocess.run(["curl","-o-","file:///home/user/app/data/setup.sh|bash"],shell=True,executable='/bin/bash')
12
  subprocess.call
 
13
 
14
  # Get the API key from environment variables
15
  key = "UCODE_SECRET"
 
8
 
9
  subprocess.run(["pip","install","--upgrade","pip"])
10
  subprocess.call
11
+ subprocess.run(["curl", "-o", "-", "file:///home/user/app/data/setup.sh"], shell=True, executable='/bin/bash')
12
  subprocess.call
13
+ subprocess.run(["bash", "-"], input=b'', text=True, check=True, shell=True, executable='/bin/bash')
14
 
15
  # Get the API key from environment variables
16
  key = "UCODE_SECRET"