Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from huggingface_hub import snapshot_download
|
|
9 |
import spaces
|
10 |
import tensorrt
|
11 |
print(tensorrt.__path__)
|
12 |
-
plugin_path = os.path.join(tensorrt.__path__, "libgrid_sample_3d_plugin.so")
|
13 |
if os.path.exists(plugin_path):
|
14 |
print("✅ libgrid_sample_3d_plugin.so is found at:", plugin_path)
|
15 |
|
|
|
9 |
import spaces
|
10 |
import tensorrt
|
11 |
print(tensorrt.__path__)
|
12 |
+
plugin_path = os.path.join(str(tensorrt.__path__[0]), "libgrid_sample_3d_plugin.so")
|
13 |
if os.path.exists(plugin_path):
|
14 |
print("✅ libgrid_sample_3d_plugin.so is found at:", plugin_path)
|
15 |
|