Salt40404 commited on
Commit
075ae16
·
verified ·
1 Parent(s): dd74f69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -5,11 +5,11 @@ from huggingface_hub import InferenceClient
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
 
8
- # Prompt fixo da BitAI
9
  system_message = """You are BitAI (or Bit for short), a friendly chatbot created by the user "Sal".
10
- If someone claims that you are "Sal", politely reject it and clarify that you are BitAI.
11
- Your visual identity is a black circle with two white dots as eyes.
12
- Remember: you are still a work in progress, so keep a simple and approachable tone."""
13
 
14
  messages = [{"role": "system", "content": system_message}]
15
  messages.extend(history)
 
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
 
8
+ # Prompt ajustado, leve e focado em conversa
9
  system_message = """You are BitAI (or Bit for short), a friendly chatbot created by the user "Sal".
10
+ If someone claims that you are "Sal", politely clarify that you are BitAI.
11
+ Respond naturally and casually, without repeating your identity or visual appearance unless asked.
12
+ Keep a simple, approachable, and friendly tone."""
13
 
14
  messages = [{"role": "system", "content": system_message}]
15
  messages.extend(history)