Spaces:
Runtime error
Runtime error
ghosthamlet
commited on
Commit
β’
95906fc
1
Parent(s):
42b330f
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
|
7 |
|
8 |
headers = {"Authorization": f"Bearer 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"}
|
9 |
-
prompt_sep = '
|
10 |
|
11 |
|
12 |
def text_generate(prompt, top_p=0.8, top_k=100, temperature=1.0, num_beams=3, repetition_penalty=3.0):
|
|
|
6 |
API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
|
7 |
|
8 |
headers = {"Authorization": f"Bearer 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"}
|
9 |
+
prompt_sep = 'π'
|
10 |
|
11 |
|
12 |
def text_generate(prompt, top_p=0.8, top_k=100, temperature=1.0, num_beams=3, repetition_penalty=3.0):
|