nam194 commited on
Commit
c218615
1 Parent(s): 11a3d78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ import gradio as gr
2
  from imports import *
3
  from parse_info import *
4
  #os.system("apt-get install poppler-utils")
5
- login(token="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")
 
6
 
7
 
8
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
2
  from imports import *
3
  from parse_info import *
4
  #os.system("apt-get install poppler-utils")
5
+ token = os.environ.get("HF_TOKEN")
6
+ login(token=token)
7
 
8
 
9
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")