Update app.py
Browse files
app.py
CHANGED
|
@@ -123,8 +123,8 @@ def get_response(prompt, model_choice, chat_history=None): # Default `chat_hist
|
|
| 123 |
messages=[
|
| 124 |
{
|
| 125 |
"role": "user",
|
| 126 |
-
"content": f"You are helpful Interior design AI assistant named Vinci based on the provoided caption below please answer the following:{prompt}
|
| 127 |
-
caption:{SYSTEM_PROMPT_TEMPLATE}, Please keep your answer concise,\
|
| 128 |
}
|
| 129 |
],
|
| 130 |
model=model_choice,
|
|
|
|
| 123 |
messages=[
|
| 124 |
{
|
| 125 |
"role": "user",
|
| 126 |
+
"content": f"""You are helpful Interior design AI assistant named Vinci based on the provoided caption below please answer the following:{prompt},
|
| 127 |
+
caption:{SYSTEM_PROMPT_TEMPLATE}, Please keep your answer concise,\nChat History:\n{chat_history}"""
|
| 128 |
}
|
| 129 |
],
|
| 130 |
model=model_choice,
|