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