Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,8 @@ additional_inputs=[
|
|
58 |
),
|
59 |
gr.Slider(
|
60 |
label="Max new tokens",
|
61 |
-
value=
|
62 |
-
minimum=
|
63 |
maximum=8192,
|
64 |
step=64,
|
65 |
interactive=True,
|
@@ -88,14 +88,11 @@ additional_inputs=[
|
|
88 |
examples=[["говори на русском", None, None, None, None, None, ],
|
89 |
]
|
90 |
|
91 |
-
footer = "Создано [ваше имя или ник]"
|
92 |
-
|
93 |
gr.ChatInterface(
|
94 |
fn=generate,
|
95 |
chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, likeable=True, layout="panel"),
|
96 |
additional_inputs=additional_inputs,
|
97 |
title="Chatterbox",
|
98 |
examples=examples,
|
99 |
-
footer=footer, # Добавляем футер с вашим именем или ником
|
100 |
concurrency_limit=20,
|
101 |
-
).launch(show_api=False)
|
|
|
58 |
),
|
59 |
gr.Slider(
|
60 |
label="Max new tokens",
|
61 |
+
value=1024,
|
62 |
+
minimum=128,
|
63 |
maximum=8192,
|
64 |
step=64,
|
65 |
interactive=True,
|
|
|
88 |
examples=[["говори на русском", None, None, None, None, None, ],
|
89 |
]
|
90 |
|
|
|
|
|
91 |
gr.ChatInterface(
|
92 |
fn=generate,
|
93 |
chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, likeable=True, layout="panel"),
|
94 |
additional_inputs=additional_inputs,
|
95 |
title="Chatterbox",
|
96 |
examples=examples,
|
|
|
97 |
concurrency_limit=20,
|
98 |
+
).launch(show_api=False)
|