Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
bug fix
Browse files
app.py
CHANGED
@@ -11,7 +11,6 @@ headers = {
|
|
11 |
|
12 |
system_message = "\nYou 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.\n\nIf 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."
|
13 |
|
14 |
-
This Space demonstrates model Llama-2-70b-chat-hf by Meta, running on Inference Endpoints using TGI. Read everything about it in our blog post” (with links to the model, Inference Endpoints, TGI, and the blog)
|
15 |
|
16 |
def predict(message, chatbot):
|
17 |
|
|
|
11 |
|
12 |
system_message = "\nYou 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.\n\nIf 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."
|
13 |
|
|
|
14 |
|
15 |
def predict(message, chatbot):
|
16 |
|