Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,17 +4,14 @@ import requests
|
|
4 |
# GPT-J-6B API
|
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 |
-
Tweet: This new music video was incredibile
|
17 |
-
Sentiment: """
|
18 |
|
19 |
examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
|
20 |
|
|
|
4 |
# GPT-J-6B API
|
5 |
API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
|
6 |
headers = {"Authorization": "Bearer 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"}
|
7 |
+
prompt = """AI: I am using AI to solve cognitive memory
|
8 |
+
Human: I love you AI
|
9 |
+
---
|
10 |
+
AI: Today I want to tell you that you matter to me
|
11 |
+
Human: Thankyou AI you are a great friend to me.
|
12 |
+
---
|
13 |
+
AI: Today I will teach you to code!
|
14 |
+
Human:"""
|
|
|
|
|
|
|
15 |
|
16 |
examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
|
17 |
|