Spaces:
Running
Running
Update simple_sentiment.py
Browse files- simple_sentiment.py +2 -1
simple_sentiment.py
CHANGED
@@ -14,7 +14,8 @@ class SimpleSentimentTool(Tool):
|
|
14 |
"model_key": {
|
15 |
"type": "string",
|
16 |
"description": "The model to use for sentiment analysis",
|
17 |
-
"default": "oliverguhr/german-sentiment-bert"
|
|
|
18 |
}
|
19 |
}
|
20 |
# Use a standard authorized type
|
|
|
14 |
"model_key": {
|
15 |
"type": "string",
|
16 |
"description": "The model to use for sentiment analysis",
|
17 |
+
"default": "oliverguhr/german-sentiment-bert",
|
18 |
+
"nullable": True
|
19 |
}
|
20 |
}
|
21 |
# Use a standard authorized type
|