jonathanjordan21
commited on
Commit
•
46b8bbd
1
Parent(s):
28c31d6
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ app = FastAPI()
|
|
9 |
|
10 |
class InputText(BaseModel):
|
11 |
text : str
|
12 |
-
threshold:
|
13 |
|
14 |
|
15 |
model_name = "cardiffnlp/twitter-xlm-roberta-base-sentiment"
|
|
|
9 |
|
10 |
class InputText(BaseModel):
|
11 |
text : str
|
12 |
+
threshold: float = 0.
|
13 |
|
14 |
|
15 |
model_name = "cardiffnlp/twitter-xlm-roberta-base-sentiment"
|