Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -19,8 +19,8 @@ model1 = RxnScribe(ckpt_path, device=torch.device('cuda' if torch.cuda.is_availa
|
|
19 |
device = torch.device(('cuda' if torch.cuda.is_available() else 'cpu'))
|
20 |
import os
|
21 |
|
22 |
-
with open('api_key.txt', 'r') as api_key_file:
|
23 |
-
|
24 |
|
25 |
def parse_coref_data_with_fallback(data):
|
26 |
bboxes = data["bboxes"]
|
|
|
19 |
device = torch.device(('cuda' if torch.cuda.is_available() else 'cpu'))
|
20 |
import os
|
21 |
|
22 |
+
# with open('api_key.txt', 'r') as api_key_file:
|
23 |
+
# API_KEY = api_key_file.read()
|
24 |
|
25 |
def parse_coref_data_with_fallback(data):
|
26 |
bboxes = data["bboxes"]
|