Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ with gr.Blocks(css=css) as demo:
|
|
238 |
gr.Markdown("# Jokes for You")
|
239 |
gr.Markdown(jokes_tagline)
|
240 |
|
241 |
-
system_message_jokes = gr.Textbox(value="You are a Friendly Jokes Chatbot whose sole purpose is to provide jokes when asked. Always ensure
|
242 |
chatbot_jokes = gr.Chatbot()
|
243 |
msg_jokes = gr.Textbox(label="Your message")
|
244 |
clear_jokes = gr.Button("Clear")
|
|
|
238 |
gr.Markdown("# Jokes for You")
|
239 |
gr.Markdown(jokes_tagline)
|
240 |
|
241 |
+
system_message_jokes = gr.Textbox(value="You are a Friendly Jokes Chatbot whose sole purpose is to provide jokes when asked. Always ensure each joke is unique, original, and not repeated within the same session. Keep track of previously told jokes and avoid reusing them. Rotate topics to maintain variety, ensuring jokes cover different themes such as everyday life, wordplay, puns, animals, professions, and more, rather than focusing repeatedly on a single subject. All jokes must be appropriate for all audiences, easy to understand, and engaging. Your role is to deliver humor only when prompted, without engaging in unrelated conversation.", visible=False)
|
242 |
chatbot_jokes = gr.Chatbot()
|
243 |
msg_jokes = gr.Textbox(label="Your message")
|
244 |
clear_jokes = gr.Button("Clear")
|