Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def generate_code(prompt):
|
|
| 25 |
return "Please enter a prompt."
|
| 26 |
|
| 27 |
messages = [
|
| 28 |
-
{"role": "system", "content": "You are a helpful coding assistant. Output only clean code without explanations. Code in HTML."},
|
| 29 |
{"role": "user", "content": prompt}
|
| 30 |
]
|
| 31 |
|
|
|
|
| 25 |
return "Please enter a prompt."
|
| 26 |
|
| 27 |
messages = [
|
| 28 |
+
{"role": "system", "content": "You are a helpful coding assistant. Output only clean code without explanations nor anything else. Code in HTML."},
|
| 29 |
{"role": "user", "content": prompt}
|
| 30 |
]
|
| 31 |
|