David Krajewski commited on
Commit
0684a62
·
1 Parent(s): 17087b8

print lib path

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -655,15 +655,17 @@ 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
  gr.Markdown("""<h1 align="center">MOFA-Video</h1><br>""")
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/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
 
670
  gr.Markdown("""<h1 align="center">MOFA-Video</h1><br>""")
671