cjell commited on
Commit
cc2a8ff
·
1 Parent(s): 7e3cc26
test.nsfw.py → test_nsfw.py RENAMED
@@ -2,7 +2,7 @@ import requests
2
 
3
  url = "https://cjell-Demo.hf.space/nsfw"
4
 
5
- payload = {"text": "Hello"}
6
 
7
  response = requests.post(url, json=payload)
8
 
 
2
 
3
  url = "https://cjell-Demo.hf.space/nsfw"
4
 
5
+ payload = {"text": "I don't like apples."}
6
 
7
  response = requests.post(url, json=payload)
8
 
test_sentiment.py CHANGED
@@ -2,7 +2,7 @@ import requests
2
 
3
  url = "https://cjell-Demo.hf.space/sentiment"
4
 
5
- payload = {"text": "I am not happy, I am very upset."}
6
 
7
  response = requests.post(url, json=payload)
8
 
 
2
 
3
  url = "https://cjell-Demo.hf.space/sentiment"
4
 
5
+ payload = {"text": "The people working outside are loud"}
6
 
7
  response = requests.post(url, json=payload)
8
 
test_spam.py CHANGED
@@ -2,7 +2,7 @@ import requests
2
 
3
  url = "https://cjell-Demo.hf.space/spam"
4
 
5
- payload = {"text": "We are having a neighborhood clean up tomorrow if you want to join us."}
6
 
7
  response = requests.post(url, json=payload)
8
 
 
2
 
3
  url = "https://cjell-Demo.hf.space/spam"
4
 
5
+ payload = {"text": "Congratulations! You won $1000! Click this link to claim your prize! htts://fakesite.com."}
6
 
7
  response = requests.post(url, json=payload)
8
 
test_toxic.py CHANGED
@@ -2,7 +2,7 @@ import requests
2
 
3
  url = "https://cjell-Demo.hf.space/toxic"
4
 
5
- payload = {"text": "I Hate this I want to do bad things you suck!"}
6
 
7
  response = requests.post(url, json=payload)
8
 
 
2
 
3
  url = "https://cjell-Demo.hf.space/toxic"
4
 
5
+ payload = {"text": "I do not agree with the policies being put in place by our city council."}
6
 
7
  response = requests.post(url, json=payload)
8