debug
Browse files
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(
|
| 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"
|