Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ MODEL = "fblgit/cybertron-v4-qw7B-MGS"
|
|
11 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
12 |
|
13 |
TITLE = """
|
14 |
-
<h1><center>
|
15 |
<center>
|
16 |
<p>The model is licensed under apache 2.0</p>
|
17 |
</center>
|
@@ -19,7 +19,7 @@ TITLE = """
|
|
19 |
|
20 |
PLACEHOLDER = """
|
21 |
<center>
|
22 |
-
<p>
|
23 |
</center>
|
24 |
"""
|
25 |
|
@@ -63,6 +63,7 @@ def stream_chat(
|
|
63 |
top_p: float = 1.0
|
64 |
,
|
65 |
top_k: int = 20,
|
|
|
66 |
repetition_penalty: float = 1.2,
|
67 |
):
|
68 |
print(f'message: {message}')
|
|
|
11 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
12 |
|
13 |
TITLE = """
|
14 |
+
<h1><center>fblgit_cybertron-v4-qw7B-MGS</center></h1>
|
15 |
<center>
|
16 |
<p>The model is licensed under apache 2.0</p>
|
17 |
</center>
|
|
|
19 |
|
20 |
PLACEHOLDER = """
|
21 |
<center>
|
22 |
+
<p>fblgit_cybertron-v4-qw7B-MGS</p>
|
23 |
</center>
|
24 |
"""
|
25 |
|
|
|
63 |
top_p: float = 1.0
|
64 |
,
|
65 |
top_k: int = 20,
|
66 |
+
|
67 |
repetition_penalty: float = 1.2,
|
68 |
):
|
69 |
print(f'message: {message}')
|