Tonic commited on
Commit
9191c72
1 Parent(s): f69da4b

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"{{{ {system_prompt} }}} \n User: {user_input} \n Falcon:"
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"Falcon: {system_prompt} \n User: {user_input} \n Falcon:"
26
 
27
  # Encode the input text
28
  encodeds = tokenizer(formatted_input, return_tensors="pt", add_special_tokens=False)