Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,6 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
|
|
106 |
fn=stream_chat,
|
107 |
chatbot=chatbot,
|
108 |
fill_height=True,
|
109 |
-
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
110 |
additional_inputs=[
|
111 |
gr.Textbox(
|
112 |
value="You are a helpful assistant",
|
@@ -153,14 +152,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
|
|
153 |
label="Repetition penalty",
|
154 |
render=False,
|
155 |
),
|
156 |
-
]
|
157 |
-
examples=[
|
158 |
-
["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
|
159 |
-
["What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter."],
|
160 |
-
["Tell me a random fun fact about the Roman Empire."],
|
161 |
-
["Show me a code snippet of a website's sticky header in CSS and JavaScript."],
|
162 |
-
],
|
163 |
-
cache_examples=False,
|
164 |
)
|
165 |
|
166 |
|
|
|
106 |
fn=stream_chat,
|
107 |
chatbot=chatbot,
|
108 |
fill_height=True,
|
|
|
109 |
additional_inputs=[
|
110 |
gr.Textbox(
|
111 |
value="You are a helpful assistant",
|
|
|
152 |
label="Repetition penalty",
|
153 |
render=False,
|
154 |
),
|
155 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
)
|
157 |
|
158 |
|