Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ HEADERS = {
|
|
54 |
MAX_SEC = 30
|
55 |
MAX_INPUT_LENGTH = 5000
|
56 |
|
57 |
-
tokenizer = AutoTokenizer.from_pretrained("MediaTek-Research/Breexe-8x7B-Instruct-v0_1")
|
58 |
|
59 |
def insert_to_db(prompt, response, temperature, top_p):
|
60 |
try:
|
|
|
54 |
MAX_SEC = 30
|
55 |
MAX_INPUT_LENGTH = 5000
|
56 |
|
57 |
+
tokenizer = AutoTokenizer.from_pretrained("MediaTek-Research/Breexe-8x7B-Instruct-v0_1", use_auth_token=os.environ.get("HF_TOKEN"))
|
58 |
|
59 |
def insert_to_db(prompt, response, temperature, top_p):
|
60 |
try:
|