Spaces:
Runtime error
Runtime error
Commit
·
ae0d246
1
Parent(s):
5a8f6f2
license fix
Browse files
app.py
CHANGED
@@ -11,7 +11,15 @@ MAX_MAX_NEW_TOKENS = 2048
|
|
11 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
13 |
|
14 |
-
DESCRIPTION = "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
if not torch.cuda.is_available():
|
|
|
11 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
13 |
|
14 |
+
DESCRIPTION = "Model TenyxChat-7B-v1"
|
15 |
+
|
16 |
+
|
17 |
+
LICENSE = """
|
18 |
+
<p/>
|
19 |
+
---
|
20 |
+
As a derivate work of by Tenyx,
|
21 |
+
this demo is governed by the original [license](https://huggingface.co/spaces/huggingface-projects/https://huggingface.co/spaces/tenyx/TenyxChat-7B-v1/blob/main/LICENSE.txt).
|
22 |
+
"""
|
23 |
|
24 |
|
25 |
if not torch.cuda.is_available():
|