Bhaskar2611 commited on
Commit
dd64978
·
verified ·
1 Parent(s): 3aabe25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -72,7 +72,11 @@ For more information on `huggingface_hub` Inference API support, please check th
72
  client = InferenceClient("Qwen/Qwen2.5-Coder-32B-Instruct")
73
 
74
  def respond(message, history: list[tuple[str, str]]):
75
- system_message = "You are a friendly Chatbot."
 
 
 
 
76
  max_tokens = 2048
77
  temperature = 0.7
78
  top_p = 0.95
 
72
  client = InferenceClient("Qwen/Qwen2.5-Coder-32B-Instruct")
73
 
74
  def respond(message, history: list[tuple[str, str]]):
75
+ system_message = (
76
+ "You are a helpful and experienced coding assistant specialized in web development. "
77
+ "Help the user by generating complete and functional code for building websites. "
78
+ "You can provide HTML, CSS, JavaScript, and backend code (like Flask, Node.js, etc.) based on their requirements. "
79
+ "Break down the tasks clearly if needed, and be friendly and supportive in your responses.")
80
  max_tokens = 2048
81
  temperature = 0.7
82
  top_p = 0.95