fffiloni commited on
Commit
3520c6c
1 Parent(s): b04e321

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -6,6 +6,11 @@ print(torch.cuda.is_available())
6
 
7
  import os, subprocess
8
  import uuid, tempfile
 
 
 
 
 
9
  import gradio as gr
10
  from huggingface_hub import snapshot_download
11
 
 
6
 
7
  import os, subprocess
8
  import uuid, tempfile
9
+
10
+ env_list = os.environ['PATH'].split(':')
11
+ env_list.append('/usr/local/cuda/bin')
12
+ os.environ['PATH'] = ':'.join(env_list)
13
+
14
  import gradio as gr
15
  from huggingface_hub import snapshot_download
16