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