Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -19,6 +19,11 @@ headers = {"Authorization": "Bearer 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"}
|
|
19 |
#API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
|
20 |
#HF_TOKEN = os.environ["HF_TOKEN"]
|
21 |
#headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
prompt = """
|
24 |
word: risk
|
@@ -30,11 +35,6 @@ was more painful
|
|
30 |
than the risk
|
31 |
it took
|
32 |
to blossom.
|
33 |
-
word: bird
|
34 |
-
poem using word: She sights a bird, she chuckles
|
35 |
-
She flattens, then she crawls
|
36 |
-
She runs without the look of feet
|
37 |
-
Her eyes increase to Balls.
|
38 |
word: """
|
39 |
|
40 |
examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
|
|
|
19 |
#API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
|
20 |
#HF_TOKEN = os.environ["HF_TOKEN"]
|
21 |
#headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|
22 |
+
#word: bird
|
23 |
+
#poem using word: She sights a bird, she chuckles
|
24 |
+
#She flattens, then she crawls
|
25 |
+
#She runs without the look of feet
|
26 |
+
#Her eyes increase to Balls.
|
27 |
|
28 |
prompt = """
|
29 |
word: risk
|
|
|
35 |
than the risk
|
36 |
it took
|
37 |
to blossom.
|
|
|
|
|
|
|
|
|
|
|
38 |
word: """
|
39 |
|
40 |
examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
|