Spaces:
Sleeping
Sleeping
fix system prompt
Browse files
app.py
CHANGED
|
@@ -6,9 +6,7 @@ pipe = pipeline("text-generation", model="HuggingFaceTB/SmolLM2-360M-Instruct",
|
|
| 6 |
|
| 7 |
# 3 adjectives + don't repeat + don't elaborate
|
| 8 |
system_instruction = """
|
| 9 |
-
You are given a short description of a person.
|
| 10 |
-
Respond only with three different adjectives that best describe the person, based on the description.
|
| 11 |
-
No explanation.
|
| 12 |
"""
|
| 13 |
|
| 14 |
def get_vibe(caption):
|
|
|
|
| 6 |
|
| 7 |
# 3 adjectives + don't repeat + don't elaborate
|
| 8 |
system_instruction = """
|
| 9 |
+
You are given a short description of a person. Respond only with three different adjectives that best describe the person, based on the description. No explanation.
|
|
|
|
|
|
|
| 10 |
"""
|
| 11 |
|
| 12 |
def get_vibe(caption):
|