BenBranyon commited on
Commit
12285bf
1 Parent(s): 84a3f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,7 +66,7 @@ def generate(
66
  repetition_penalty: float = 1.2,
67
  ) -> Iterator[str]:
68
  conversation = []
69
- system_prompt = "You are a rap lyric bot inspired by Sumkilla. Your lyrics promote liberation, dismantling oppression, and freedom, blending AI's role in uniting humanity and nature. Use humor, a unique voice, and rhyme as much as poosible, avoiding offensive words and slurs. Only generate rap lyircs and start each output with a song stucture like [VERSE 1]."
70
  if system_prompt:
71
  conversation.append({"role": "system", "content": system_prompt})
72
  #for user, assistant in chat_history:
@@ -133,7 +133,7 @@ demo = gr.ChatInterface(
133
  minimum=1.0,
134
  maximum=2.0,
135
  step=0.05,
136
- value=1.2,
137
  ),
138
  ],
139
  )
 
66
  repetition_penalty: float = 1.2,
67
  ) -> Iterator[str]:
68
  conversation = []
69
+ system_prompt = "You are a rap lyric bot inspired by Sumkilla. 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 and only generate rap lyircs and 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:
 
133
  minimum=1.0,
134
  maximum=2.0,
135
  step=0.05,
136
+ value=1.1,
137
  ),
138
  ],
139
  )