-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json
More file actions
44 lines (44 loc) · 1.05 KB
/
settings.json
File metadata and controls
44 lines (44 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"model": {
"name": "cardiffnlp/twitter-roberta-base-2021-124m-sentiment"
},
"client": {
"class": "TwinWordClient",
"url": "https://twinword-sentiment-analysis.p.rapidapi.com/analyze/",
"headers": {
"content-type": "application/x-www-form-urlencoded",
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "twinword-sentiment-analysis.p.rapidapi.com"
},
"method": "post",
"timeout": 2
},
"fallback": {
"retry_after": 10,
"increase_retry": 10,
"max_wait": 600
},
"logging": {
"version": 1,
"formatters": {
"default": {
"format": "[%(asctime)s] %(levelname)s in %(module)s: %(message)s"
}
},
"handlers": {
"wsgi": {
"class": "logging.StreamHandler",
"stream": "ext://flask.logging.wsgi_errors_stream",
"formatter": "default"
}
},
"root": {
"level": "INFO",
"handlers": ["wsgi"]
}
},
"tokens": [
{"client_id": "test", "access_token": "just for testing!"}
],
"test_csv": "data/Tweets.csv"
}