Spaces:
Sleeping
Sleeping
max_tokens
Browse files
Makefile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
all:
|
| 3 |
+
|
| 4 |
+
update:
|
| 5 |
+
git add . --all
|
| 6 |
+
git commit -a
|
| 7 |
+
git push
|
| 8 |
+
|
app.py
CHANGED
|
@@ -134,7 +134,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 134 |
demo = gr.ChatInterface(
|
| 135 |
respond,
|
| 136 |
additional_inputs=[
|
| 137 |
-
gr.Slider(minimum=1, maximum=
|
| 138 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 139 |
gr.Slider(
|
| 140 |
minimum=0.1,
|
|
|
|
| 134 |
demo = gr.ChatInterface(
|
| 135 |
respond,
|
| 136 |
additional_inputs=[
|
| 137 |
+
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
|
| 138 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 139 |
gr.Slider(
|
| 140 |
minimum=0.1,
|