linoyts HF Staff commited on
Commit
794cd0a
·
verified ·
1 Parent(s): 0d5afae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -112,11 +112,6 @@ def polish_prompt_hf(prompt, img):
112
  )
113
 
114
  # Format the messages for the chat completions API
115
- messages = [
116
- {"role": "system", "content": system_prompt},
117
- {"role": "user", "content": prompt}
118
- ]
119
-
120
  sys_promot = "you are a helpful assistant, you should provide useful answers to users."
121
  messages = [
122
  {"role": "system", "content": sys_promot},
 
112
  )
113
 
114
  # Format the messages for the chat completions API
 
 
 
 
 
115
  sys_promot = "you are a helpful assistant, you should provide useful answers to users."
116
  messages = [
117
  {"role": "system", "content": sys_promot},