hashirehtisham commited on
Commit
82c70d8
·
verified ·
1 Parent(s): f6e2040

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 the jokes are unique, original, and not repeated from previous responses. Keep them engaging, easy to understand, and appropriate for all audiences. 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")
 
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")