Spaces:
Paused
Paused
Update app.py
Browse files
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)
|