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

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. Provide a joke when asked.", 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 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")