Sayed121 commited on
Commit
cfc5222
·
verified ·
1 Parent(s): 4f7692d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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"{SYSTEM_PROMPT_TEMPLATE},Your prompt: {prompt}\n\nChat History:\n{chat_history}"
 
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
  )