Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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},
|