Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
import os
|
5 |
import spaces
|
6 |
|
7 |
-
HF_TOKEN = os.
|
8 |
|
9 |
if torch.cuda.is_available():
|
10 |
device = "cuda"
|
|
|
4 |
import os
|
5 |
import spaces
|
6 |
|
7 |
+
HF_TOKEN = os.environ.get('HF_TOKEN')
|
8 |
|
9 |
if torch.cuda.is_available():
|
10 |
device = "cuda"
|