Update app.py
Browse files
app.py
CHANGED
@@ -254,23 +254,6 @@ demo = gr.ChatInterface(
|
|
254 |
fn=llm_ans,
|
255 |
examples=[["Write me a poem about Machine Learning."]],
|
256 |
# multimodal=False,
|
257 |
-
additional_inputs_accordion=gr.Accordion(
|
258 |
-
label="⚙️ Parameters", open=False, render=False
|
259 |
-
),
|
260 |
-
additional_inputs=[
|
261 |
-
gr.Slider(
|
262 |
-
minimum=0, maximum=1, step=0.1, value=0.9, label="Temperature", render=False
|
263 |
-
),
|
264 |
-
gr.Checkbox(label="Sampling", value=True),
|
265 |
-
gr.Slider(
|
266 |
-
minimum=128,
|
267 |
-
maximum=4096,
|
268 |
-
step=1,
|
269 |
-
value=512,
|
270 |
-
label="Max new tokens",
|
271 |
-
render=False,
|
272 |
-
),
|
273 |
-
],
|
274 |
stop_btn="Stop Generation",
|
275 |
title="Chat With LLMs",
|
276 |
description="Now Running Phi3-ORPO",
|
|
|
254 |
fn=llm_ans,
|
255 |
examples=[["Write me a poem about Machine Learning."]],
|
256 |
# multimodal=False,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
stop_btn="Stop Generation",
|
258 |
title="Chat With LLMs",
|
259 |
description="Now Running Phi3-ORPO",
|