prithivMLmods
commited on
Commit
•
b2d2790
1
Parent(s):
7f42559
Update app.py
Browse files
app.py
CHANGED
@@ -55,16 +55,15 @@ def respond(
|
|
55 |
demo = gr.ChatInterface(
|
56 |
respond,
|
57 |
additional_inputs=[
|
58 |
-
gr.Textbox(value="", label="System message"
|
59 |
-
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"
|
60 |
-
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"
|
61 |
gr.Slider(
|
62 |
minimum=0.1,
|
63 |
maximum=1.0,
|
64 |
value=0.95,
|
65 |
step=0.05,
|
66 |
label="Top-P",
|
67 |
-
visible=False,
|
68 |
),
|
69 |
|
70 |
],
|
|
|
55 |
demo = gr.ChatInterface(
|
56 |
respond,
|
57 |
additional_inputs=[
|
58 |
+
gr.Textbox(value="", label="System message"),
|
59 |
+
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
60 |
+
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
61 |
gr.Slider(
|
62 |
minimum=0.1,
|
63 |
maximum=1.0,
|
64 |
value=0.95,
|
65 |
step=0.05,
|
66 |
label="Top-P",
|
|
|
67 |
),
|
68 |
|
69 |
],
|