Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,7 @@ def fn(
|
|
41 |
|
42 |
app = gr.ChatInterface(
|
43 |
fn = fn,
|
|
|
44 |
additional_inputs = [
|
45 |
gr.Textbox(value="You are a helpful assistant.", label="System Message"),
|
46 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max Tokens"),
|
|
|
41 |
|
42 |
app = gr.ChatInterface(
|
43 |
fn = fn,
|
44 |
+
type = "messages",
|
45 |
additional_inputs = [
|
46 |
gr.Textbox(value="You are a helpful assistant.", label="System Message"),
|
47 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max Tokens"),
|