xavierbarbier commited on
Commit
efad6bb
·
verified ·
1 Parent(s): c562a1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -87,13 +87,13 @@ iface = gr.ChatInterface(
87
  description = description,
88
  chatbot=chatbot,
89
  additional_inputs=additional_inputs,
90
- examples=[
91
- ["Hello there! How are you doing?"],
92
- ["How many hours does it take a man to eat a Helicopter?"],
93
- ["You are a helpful and honest assistant. Always answer as helpfully as possible. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information."],
94
- ["I want you to act as a spoken English teacher and improver. I will speak to you in English and you will reply to me in English to practice my spoken English. I want you to strictly correct my grammar mistakes, typos, and factual errors. I want you to ask me a question in your reply. Now let's start practicing, you could ask me a question first. Remember, I want you to strictly correct my grammar mistakes, typos, and factual errors."],
95
- [f"I want you to act like {character} from {series}. I want you to respond and answer like {character} using the tone, manner and vocabulary {character} would use. Do not write any explanations. Only answer like {character}. You must know all of the knowledge of {character}."]
96
- ]
97
  )
98
 
99
  with gr.Blocks(css="resourse/style/custom.css") as demo:
 
87
  description = description,
88
  chatbot=chatbot,
89
  additional_inputs=additional_inputs,
90
+ #examples=[
91
+ # ["Hello there! How are you doing?"],
92
+ # ["How many hours does it take a man to eat a Helicopter?"],
93
+ # ["You are a helpful and honest assistant. Always answer as helpfully as possible. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information."],
94
+ #["I want you to act as a spoken English teacher and improver. I will speak to you in English and you will reply to me in English to practice my spoken English. I want you to strictly correct my grammar mistakes, typos, and factual errors. I want you to ask me a question in your reply. Now let's start practicing, you could ask me a question first. Remember, I want you to strictly correct my grammar mistakes, typos, and factual errors."],
95
+ #[f"I want you to act like {character} from {series}. I want you to respond and answer like {character} using the tone, manner and vocabulary {character} would use. Do not write any explanations. Only answer like {character}. You must know all of the knowledge of {character}."]
96
+ #]
97
  )
98
 
99
  with gr.Blocks(css="resourse/style/custom.css") as demo: