Fix typo
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ MODEL_TYPES = {
|
|
18 |
def predict(model_type, input):
|
19 |
if MODEL_TYPES[model_type] == "rasa_intent_entity":
|
20 |
return rasa_predict(input)
|
21 |
-
elif MODEL_TYPES[
|
22 |
return "TODO: out of scope"
|
23 |
elif MODEL_TYPES[model_type] == "intent_transformer":
|
24 |
return "TODO:: intent_transformer"
|
|
|
18 |
def predict(model_type, input):
|
19 |
if MODEL_TYPES[model_type] == "rasa_intent_entity":
|
20 |
return rasa_predict(input)
|
21 |
+
elif MODEL_TYPES[model_type] == "oos":
|
22 |
return "TODO: out of scope"
|
23 |
elif MODEL_TYPES[model_type] == "intent_transformer":
|
24 |
return "TODO:: intent_transformer"
|