Update app.py
Browse files
app.py
CHANGED
|
@@ -82,19 +82,21 @@ additional_inputs=[
|
|
| 82 |
interactive=True,
|
| 83 |
info="Penalize repeated tokens",
|
| 84 |
),
|
| 85 |
-
|
|
|
|
|
|
|
| 86 |
["Generate a NCLEX study plan for me."],
|
| 87 |
["Provide a CV template for a fresh nursing graduate."],
|
| 88 |
["I have a family member that got diagnosed with Buerger's disease, can you explain in easy terms what it is?"],
|
| 89 |
["Could you talk about straight leg rises exercise in the post-surgical context?"],
|
| 90 |
["Could you provide an overview of how the Nurse Practice Act helps regulate the nursing profession in different states?"],
|
| 91 |
-
]
|
| 92 |
-
]
|
| 93 |
|
| 94 |
|
| 95 |
gr.ChatInterface(
|
| 96 |
fn=generate,
|
| 97 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
| 98 |
additional_inputs=additional_inputs,
|
|
|
|
| 99 |
title="""NGPT-v1"""
|
| 100 |
).launch(show_api=False, share=True)
|
|
|
|
| 82 |
interactive=True,
|
| 83 |
info="Penalize repeated tokens",
|
| 84 |
),
|
| 85 |
+
]
|
| 86 |
+
|
| 87 |
+
examples=[
|
| 88 |
["Generate a NCLEX study plan for me."],
|
| 89 |
["Provide a CV template for a fresh nursing graduate."],
|
| 90 |
["I have a family member that got diagnosed with Buerger's disease, can you explain in easy terms what it is?"],
|
| 91 |
["Could you talk about straight leg rises exercise in the post-surgical context?"],
|
| 92 |
["Could you provide an overview of how the Nurse Practice Act helps regulate the nursing profession in different states?"],
|
| 93 |
+
]
|
|
|
|
| 94 |
|
| 95 |
|
| 96 |
gr.ChatInterface(
|
| 97 |
fn=generate,
|
| 98 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
| 99 |
additional_inputs=additional_inputs,
|
| 100 |
+
examples = examples,
|
| 101 |
title="""NGPT-v1"""
|
| 102 |
).launch(show_api=False, share=True)
|