Spaces:
Sleeping
Sleeping
adjust prompt
Browse files- gemmademo/_prompts.py +2 -1
gemmademo/_prompts.py
CHANGED
|
@@ -36,6 +36,7 @@ class PromptManager:
|
|
| 36 |
"""
|
| 37 |
Format user input for code completion task
|
| 38 |
"""
|
| 39 |
-
prompt = f"""Complete the following code snippet directly
|
|
|
|
| 40 |
{user_input}"""
|
| 41 |
return prompt
|
|
|
|
| 36 |
"""
|
| 37 |
Format user input for code completion task
|
| 38 |
"""
|
| 39 |
+
prompt = f"""Complete the following code snippet directly with proper syntax and
|
| 40 |
+
without explanations or extra text:
|
| 41 |
{user_input}"""
|
| 42 |
return prompt
|