abenkbp commited on
Commit
8d1efea
·
1 Parent(s): 39e9306
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -8,9 +8,8 @@ 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"], 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"
 
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"