Tonic commited on
Commit
1d6dfdf
1 Parent(s): b999a69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def multimodal_prompt(user_input, system_prompt="You are an expert medical analy
22
  A string containing the generated text.
23
  """
24
  # Combine user input and system prompt
25
- formatted_input = f"<s>[INST]{system_prompt} {user_input}[/INST]"
26
 
27
  # Encode the input text
28
  encodeds = tokenizer(formatted_input, return_tensors="pt", add_special_tokens=False)
 
22
  A string containing the generated text.
23
  """
24
  # Combine user input and system prompt
25
+ formatted_input = f"<s>[INST]{system_prompt} {user_input}[/INST]</s>"
26
 
27
  # Encode the input text
28
  encodeds = tokenizer(formatted_input, return_tensors="pt", add_special_tokens=False)