Salt40404 commited on
Commit
b415ca1
·
verified ·
1 Parent(s): 50732e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 the user "Sal".
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}]