Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,17 +100,17 @@ with gr.Blocks(css=".bubble-gap {gap: 6px !important}", theme="shivi/calm_seafoa
|
|
| 100 |
gr.ChatInterface(
|
| 101 |
respond,
|
| 102 |
additional_inputs_accordion=gr.Accordion(label="Options", open=True),
|
| 103 |
-
additional_inputs=[
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
],
|
| 114 |
)
|
| 115 |
|
| 116 |
|
|
|
|
| 100 |
gr.ChatInterface(
|
| 101 |
respond,
|
| 102 |
additional_inputs_accordion=gr.Accordion(label="Options", open=True),
|
| 103 |
+
# additional_inputs=[
|
| 104 |
+
# gr.Radio(presets.keys(), label="Personality preset", info="VERY SLIGHTLY influence the model's personality [WARNING, IF YOU CHANGE THIS WHILE THERE ARE MESSAGES IN THE CHAT THE MODEL WILL BECOME VERY SLOW]", value="Default"),
|
| 105 |
+
# # ("The model will become slow" is bc this uncaches the prompt and prompt processing is a big part of the generation time)
|
| 106 |
+
# gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Min_p", info="Lower values give it more \"personality\""),
|
| 107 |
+
# gr.Slider(minimum=0.1, maximum=4.0, value=1.5, step=0.1, label="Temperature", info="How chaotic should the model be?"),
|
| 108 |
+
# gr.Slider(minimum=0, maximum=512, value=5, step=1, label="Length penalty start", info='When should the model start being more likely to shut up?'),
|
| 109 |
+
# gr.Slider(minimum=0.5, maximum=1.5, value=1.015, step=0.001, label="Length penalty decay factor", info='How fast should that stop likelihood increase?'),
|
| 110 |
+
# gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Frequency penalty", info='"Don\'repeat yourself"'),
|
| 111 |
+
# gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.01, label="Presence penalty", info='"Use lots of diverse words"'),
|
| 112 |
+
# gr.Slider(minimum=1, maximum=1024, value=1024, step=1, label="Max new tokens", info="How many words can the model generate at most?"),
|
| 113 |
+
# ],
|
| 114 |
)
|
| 115 |
|
| 116 |
|