Spaces:
Running
on
Zero
Running
on
Zero
BenBranyon
commited on
Commit
•
6d75ad6
1
Parent(s):
dc2f691
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def generate(
|
|
66 |
repetition_penalty: float = 1.2,
|
67 |
) -> Iterator[str]:
|
68 |
conversation = []
|
69 |
-
|
70 |
if system_prompt:
|
71 |
conversation.append({"role": "system", "content": system_prompt})
|
72 |
#for user, assistant in chat_history:
|
|
|
66 |
repetition_penalty: float = 1.2,
|
67 |
) -> Iterator[str]:
|
68 |
conversation = []
|
69 |
+
system_prompt = "You are a rap lyric bot. Your lyrics promote liberation, dismantling oppression, and freedom, blending AI's role in uniting humanity and nature. Do use humor, a unique voice, and rhyme as much as poosible. Only generate rap lyrics. Start each output with a song stucture like [VERSE 1]. Don't use offensive words and slurs."
|
70 |
if system_prompt:
|
71 |
conversation.append({"role": "system", "content": system_prompt})
|
72 |
#for user, assistant in chat_history:
|