Tonic commited on
Commit
6f803b0
1 Parent(s): 3856ed3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def wrap_text(text, width=90):
20
  def multimodal_prompt(user_input, system_prompt="You are an expert medical analyst:"):
21
 
22
  # Combine user input and system prompt
23
- formatted_input = f"[INSTRUCTION]{system_prompt}[QUESTION]{user_input}"
24
 
25
  # Encode the input text
26
  encodeds = tokenizer(formatted_input, return_tensors="pt", add_special_tokens=False)
 
20
  def multimodal_prompt(user_input, system_prompt="You are an expert medical analyst:"):
21
 
22
  # Combine user input and system prompt
23
+ formatted_input = f"{user_input}{system_prompt}"
24
 
25
  # Encode the input text
26
  encodeds = tokenizer(formatted_input, return_tensors="pt", add_special_tokens=False)