Spaces:
Sleeping
Sleeping
Commit
•
e011fe4
1
Parent(s):
9bfc3b6
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,13 @@ with gr.Blocks(css=css) as demo:
|
|
88 |
gr.ChatInterface(
|
89 |
fn=respond,
|
90 |
chatbot=chatbot,
|
91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
93 |
additional_inputs=[
|
94 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
@@ -102,13 +108,6 @@ with gr.Blocks(css=css) as demo:
|
|
102 |
label="Top-p (nucleus sampling)",
|
103 |
),
|
104 |
],
|
105 |
-
examples=[
|
106 |
-
['How to setup a human base on Mars? Give short answer.'],
|
107 |
-
['Explain theory of relativity to me like I’m 8 years old.'],
|
108 |
-
['What is 9,000 * 9,000?'],
|
109 |
-
['Write a pun-filled happy birthday message to my friend Alex.'],
|
110 |
-
['Justify why a penguin might make a good king of the jungle.']
|
111 |
-
],
|
112 |
cache_examples=False,
|
113 |
)
|
114 |
# Add license markdown
|
|
|
88 |
gr.ChatInterface(
|
89 |
fn=respond,
|
90 |
chatbot=chatbot,
|
91 |
+
examples=[
|
92 |
+
['How to setup a human base on Mars? Give short answer.'],
|
93 |
+
['Explain theory of relativity to me like I’m 8 years old.'],
|
94 |
+
['What is 9,000 * 9,000?'],
|
95 |
+
['Write a pun-filled happy birthday message to my friend Alex.'],
|
96 |
+
['Justify why a penguin might make a good king of the jungle.']
|
97 |
+
],
|
98 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
99 |
additional_inputs=[
|
100 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
|
|
108 |
label="Top-p (nucleus sampling)",
|
109 |
),
|
110 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
cache_examples=False,
|
112 |
)
|
113 |
# Add license markdown
|