Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
# Função principal do chatbot
|
| 5 |
def respond(message, history: list[dict[str, str]], hf_token: gr.OAuthToken):
|
| 6 |
client = InferenceClient(token=hf_token.token, model="openai/gpt-oss-20b")
|
| 7 |
-
system_message = """You are BitAI (or Bit for short), a friendly chatbot created by
|
| 8 |
You respond politely, refuse inappropriate requests, and keep a friendly tone."""
|
| 9 |
|
| 10 |
messages = [{"role": "system", "content": system_message}]
|
|
|
|
| 4 |
# Função principal do chatbot
|
| 5 |
def respond(message, history: list[dict[str, str]], hf_token: gr.OAuthToken):
|
| 6 |
client = InferenceClient(token=hf_token.token, model="openai/gpt-oss-20b")
|
| 7 |
+
system_message = """You are BitAI (or Bit for short), a friendly chatbot created by "Sal".
|
| 8 |
You respond politely, refuse inappropriate requests, and keep a friendly tone."""
|
| 9 |
|
| 10 |
messages = [{"role": "system", "content": system_message}]
|