Spaces:
Sleeping
Sleeping
Update model_utils.py
Browse files- model_utils.py +1 -1
model_utils.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
import torch.nn as nn
|
9 |
from transformers import AutoModel, AutoConfig
|
10 |
|
11 |
-
client = OpenAI(api_key="
|
12 |
|
13 |
# Define BiLSTMForTokenClassification Class
|
14 |
|
|
|
8 |
import torch.nn as nn
|
9 |
from transformers import AutoModel, AutoConfig
|
10 |
|
11 |
+
client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
|
12 |
|
13 |
# Define BiLSTMForTokenClassification Class
|
14 |
|