David Krajewski commited on
Commit
40c9c41
·
1 Parent(s): 0684a62

print lib64 folder

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -655,15 +655,15 @@ with gr.Blocks() as demo:
655
 
656
  # /usr/local/lib/python3.10/site-packages/nvidia/cudnn/lib
657
 
658
- # import os
659
-
660
- # folder_path = "/usr/local/lib/python3.10/site-packages/nvidia/"
661
- # if os.path.exists(folder_path) and os.path.isdir(folder_path):
662
- # print(f"Contents of the folder '{folder_path}':")
663
- # for item in os.listdir(folder_path):
664
- # print(item)
665
- # else:
666
- # print(f"The folder '{folder_path}' does not exist or is not a directory.")
667
 
668
  print(os.environ["LD_LIBRARY_PATH"])
669
 
 
655
 
656
  # /usr/local/lib/python3.10/site-packages/nvidia/cudnn/lib
657
 
658
+ import os
659
+
660
+ folder_path = "/usr/local/lib/python3.10/lib64/"
661
+ if os.path.exists(folder_path) and os.path.isdir(folder_path):
662
+ print(f"Contents of the folder '{folder_path}':")
663
+ for item in os.listdir(folder_path):
664
+ print(item)
665
+ else:
666
+ print(f"The folder '{folder_path}' does not exist or is not a directory.")
667
 
668
  print(os.environ["LD_LIBRARY_PATH"])
669