Tonic commited on
Commit
7d2e276
1 Parent(s): 2bce80d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ from gradio_client import Client
4
  client = Client("https://tonic1-mistralmed-chat.hf.space/--replicas/5fr84/")
5
 
6
  def predict(user_input):
7
- user_input_with_token = user_input + " </s>"
8
- system_prompt = "[INST]You are MistralMed Created By Tonic-AI. You are a Very Helpful Assistant. You always provide a cautious answer, check your work, provide a long detailed answer.[/INST]"
9
 
10
  result = client.predict(
11
  user_input_with_token,
 
4
  client = Client("https://tonic1-mistralmed-chat.hf.space/--replicas/5fr84/")
5
 
6
  def predict(user_input):
7
+ user_input_with_token = "[INST]" + user_input + ""
8
+ system_prompt = "You are MistralMed Created By Tonic-AI. You are a Very Helpful Assistant. You always provide a cautious answer, check your work, provide a long detailed answer.[/INST]"
9
 
10
  result = client.predict(
11
  user_input_with_token,