Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,14 +4,10 @@ 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 |
-
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 |
|
|
|
|
| 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 = """Carl Marx: Blah blah democracy blah blah
|
| 8 |
+
Biden: Hey man will you shut up man?
|
| 9 |
+
Einstein: Science I tell you
|
| 10 |
+
Elon Musk: Give me some science man!"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
|
| 13 |
|