Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,14 +45,10 @@ additional_inputs = [
|
|
45 |
gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
|
46 |
]
|
47 |
|
48 |
-
# Apply the Soft theme
|
49 |
-
gr.Interface.theme = gr.themes.Soft
|
50 |
-
|
51 |
gr.ChatInterface(
|
52 |
fn=generate,
|
53 |
-
chatbot=gr.Chatbot(show_label=True, show_share_button=
|
54 |
additional_inputs=additional_inputs,
|
55 |
title="ConvoLite",
|
56 |
-
description="Remember! The AI might give incorrect information about people, locations, history, etc...",
|
57 |
concurrency_limit=20,
|
58 |
).launch(show_api=False,)
|
|
|
45 |
gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
|
46 |
]
|
47 |
|
|
|
|
|
|
|
48 |
gr.ChatInterface(
|
49 |
fn=generate,
|
50 |
+
chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
51 |
additional_inputs=additional_inputs,
|
52 |
title="ConvoLite",
|
|
|
53 |
concurrency_limit=20,
|
54 |
).launch(show_api=False,)
|