Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,7 @@ import gradio as gr
|
|
5 |
|
6 |
from model import run
|
7 |
|
8 |
-
DEFAULT_SYSTEM_PROMPT = ""
|
9 |
-
You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.
|
10 |
-
If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.\
|
11 |
-
"""
|
12 |
MAX_MAX_NEW_TOKENS = 2048
|
13 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
14 |
MAX_INPUT_TOKEN_LENGTH = 4000
|
|
|
5 |
|
6 |
from model import run
|
7 |
|
8 |
+
DEFAULT_SYSTEM_PROMPT = ""
|
|
|
|
|
|
|
9 |
MAX_MAX_NEW_TOKENS = 2048
|
10 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
11 |
MAX_INPUT_TOKEN_LENGTH = 4000
|