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