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