Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -168,36 +168,36 @@ with gr.Blocks() as demo:
|
|
168 |
|
169 |
chatbot = gr.ChatInterface(
|
170 |
respond,
|
171 |
-
additional_inputs=[
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
]
|
202 |
)
|
203 |
|
|
|
168 |
|
169 |
chatbot = gr.ChatInterface(
|
170 |
respond,
|
171 |
+
# additional_inputs=[
|
172 |
+
# gr.Textbox(
|
173 |
+
# value="You are a friendly chatbot.",
|
174 |
+
# label="System Message",
|
175 |
+
# info="Customize how the assistant behaves in conversations."
|
176 |
+
# ),
|
177 |
+
# gr.Slider(
|
178 |
+
# minimum=1,
|
179 |
+
# maximum=2048,
|
180 |
+
# value=512,
|
181 |
+
# step=1,
|
182 |
+
# label="Max New Tokens",
|
183 |
+
# info="Maximum number of tokens for the assistant's response."
|
184 |
+
# ),
|
185 |
+
# gr.Slider(
|
186 |
+
# minimum=0.1,
|
187 |
+
# maximum=4.0,
|
188 |
+
# value=0.7,
|
189 |
+
# step=0.1,
|
190 |
+
# label="Temperature",
|
191 |
+
# info="Controls randomness in the assistant's response."
|
192 |
+
# ),
|
193 |
+
# gr.Slider(
|
194 |
+
# minimum=0.1,
|
195 |
+
# maximum=1.0,
|
196 |
+
# value=0.95,
|
197 |
+
# step=0.05,
|
198 |
+
# label="Top-p (Nucleus Sampling)",
|
199 |
+
# info="Limits sampling to a subset of tokens with cumulative probability top_p."
|
200 |
+
# ),
|
201 |
]
|
202 |
)
|
203 |
|