Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,21 +5,18 @@ import requests
|
|
5 |
API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
|
6 |
headers = {"Authorization": "Bearer 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"}
|
7 |
prompt = """
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
She runs without the look of feet
|
21 |
-
Her eyes increase to Balls.
|
22 |
-
word: """
|
23 |
|
24 |
examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
|
25 |
|
|
|
5 |
API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
|
6 |
headers = {"Authorization": "Bearer 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"}
|
7 |
prompt = """
|
8 |
+
Tweet: I hate it when my phone battery dies.
|
9 |
+
Sentiment: Negative
|
10 |
+
###
|
11 |
+
Tweet: My day has been 👍
|
12 |
+
Sentiment: Positive
|
13 |
+
###
|
14 |
+
Tweet: This is the link to the article
|
15 |
+
Sentiment: Neutral
|
16 |
+
###
|
17 |
+
Tweet: This new music video was incredibile
|
18 |
+
Sentiment:
|
19 |
+
"""
|
|
|
|
|
|
|
20 |
|
21 |
examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
|
22 |
|