Nick088 commited on
Commit
c6484ad
1 Parent(s): 925b9c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  import os
5
  import spaces
6
 
7
- HF_TOKEN = os.getenv['HF_TOKEN']
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"