Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,10 @@ LICENSE = """
|
|
33 |
|
34 |
DEFAULT_SYSTEM_PROMPT = "You are a helpful AI assistant built by MediaTek Research. The user you are helping speaks Traditional Chinese and comes from Taiwan."
|
35 |
|
36 |
-
API_URL = os.environ.get("API_URL")
|
37 |
-
|
|
|
|
|
38 |
TOKENIZER_REPO = "MediaTek-Research/Breeze-7B-Instruct-v1_0" # tokenization methods are same as BreeXe
|
39 |
API_MODEL_TYPE = "breexe-8x7b-instruct-v01"
|
40 |
|
|
|
33 |
|
34 |
DEFAULT_SYSTEM_PROMPT = "You are a helpful AI assistant built by MediaTek Research. The user you are helping speaks Traditional Chinese and comes from Taiwan."
|
35 |
|
36 |
+
# API_URL = os.environ.get("API_URL")
|
37 |
+
API_URL = "https://api-mtkresearch.com/v1"
|
38 |
+
# TOKEN = os.environ.get("TOKEN")
|
39 |
+
TOKEN = “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoyLCJ1c2VybmFtZSI6ImdlbmVyYWxfcHVibGljIiwibm90ZSI6ImdlbmVyYWwgcHVibGljIn0.kCp68nRw3RSh3jbMm8FvhG0NIkStflgI1wTHLviRPQE”
|
40 |
TOKENIZER_REPO = "MediaTek-Research/Breeze-7B-Instruct-v1_0" # tokenization methods are same as BreeXe
|
41 |
API_MODEL_TYPE = "breexe-8x7b-instruct-v01"
|
42 |
|