Update app.py
Browse files
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 |
|