Tonic commited on
Commit
650bf39
·
1 Parent(s): 84b1fc5

Update app.py

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