Add tracing
Browse files- handler.py +2 -0
handler.py
CHANGED
|
@@ -22,8 +22,10 @@ class EndpointHandler:
|
|
| 22 |
os.system('python --version')
|
| 23 |
os.system('python3 --version')
|
| 24 |
os.system('ls')
|
|
|
|
| 25 |
os.system('ps -ef')
|
| 26 |
os.system('uname -a')
|
|
|
|
| 27 |
|
| 28 |
# get inputs
|
| 29 |
inputs = data.pop("inputs", data)
|
|
|
|
| 22 |
os.system('python --version')
|
| 23 |
os.system('python3 --version')
|
| 24 |
os.system('ls')
|
| 25 |
+
os.system('ls huggingface_inference_toolkit')
|
| 26 |
os.system('ps -ef')
|
| 27 |
os.system('uname -a')
|
| 28 |
+
os.system('cat webservice_starlette.py')
|
| 29 |
|
| 30 |
# get inputs
|
| 31 |
inputs = data.pop("inputs", data)
|