ianeksdi commited on
Commit
4a65c44
·
verified ·
1 Parent(s): 8b5f3bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,9 +4,9 @@ from huggingface_hub import InferenceClient
4
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
  def respond(message, history: list[tuple[str, str]]):
7
- system_message = "You are a friendly Chatbot. Respond only in bisaya language. No english translation."
8
  max_tokens = 4096
9
- temperature = 0.7
10
  top_p = 0.95
11
 
12
  messages = [{"role": "system", "content": system_message}]
 
4
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
  def respond(message, history: list[tuple[str, str]]):
7
+ system_message = "Mag Bisaya ka lang wag ka mag english"
8
  max_tokens = 4096
9
+ temperature = 0.6
10
  top_p = 0.95
11
 
12
  messages = [{"role": "system", "content": system_message}]