Spaces:
Runtime error
Runtime error
Logan Zoellner
commited on
Commit
·
79ece5e
1
Parent(s):
4c68c58
I don't think token is strictly necessary?
Browse files
app.py
CHANGED
@@ -4,8 +4,6 @@ import os
|
|
4 |
|
5 |
# GPT-J-6B API
|
6 |
API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
|
7 |
-
HF_TOKEN = os.environ["HF_TOKEN"]
|
8 |
-
headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|
9 |
|
10 |
prompt = """
|
11 |
Bilbo is a hobbit rogue who wears a brown cloak and carries a ring.
|
|
|
4 |
|
5 |
# GPT-J-6B API
|
6 |
API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
|
|
|
|
|
7 |
|
8 |
prompt = """
|
9 |
Bilbo is a hobbit rogue who wears a brown cloak and carries a ring.
|