Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,11 +46,13 @@ additional_inputs = [
|
|
46 |
gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
|
47 |
]
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
with gr.themes.Soft():
|
50 |
-
|
51 |
-
fn=generate,
|
52 |
-
chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
53 |
-
additional_inputs=additional_inputs,
|
54 |
-
title="ConvoLite",
|
55 |
-
concurrency_limit=20,
|
56 |
-
).launch(show_api=False)
|
|
|
46 |
gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
|
47 |
]
|
48 |
|
49 |
+
app = gr.ChatInterface(
|
50 |
+
fn=generate,
|
51 |
+
chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
52 |
+
additional_inputs=additional_inputs,
|
53 |
+
title="ConvoLite",
|
54 |
+
concurrency_limit=20,
|
55 |
+
)
|
56 |
+
|
57 |
with gr.themes.Soft():
|
58 |
+
app.launch(show_api=False)
|
|
|
|
|
|
|
|
|
|
|
|