Spaces:
Running
Running
Update intent.py
Browse files
intent.py
CHANGED
@@ -10,7 +10,8 @@ LABEL2ID = None
|
|
10 |
|
11 |
class TrainInput(BaseModel):
|
12 |
intents: list
|
13 |
-
|
|
|
14 |
def background_training(intents, s_config):
|
15 |
global INTENT_MODEL, INTENT_TOKENIZER, LABEL2ID
|
16 |
try:
|
|
|
10 |
|
11 |
class TrainInput(BaseModel):
|
12 |
intents: list
|
13 |
+
data_formats: list = []
|
14 |
+
|
15 |
def background_training(intents, s_config):
|
16 |
global INTENT_MODEL, INTENT_TOKENIZER, LABEL2ID
|
17 |
try:
|