jonathanjordan21 commited on
Commit
46b8bbd
1 Parent(s): 28c31d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ app = FastAPI()
9
 
10
  class InputText(BaseModel):
11
  text : str
12
- threshold: Optional[float] = None
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"