Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def load_prompts():
|
|
11 |
|
12 |
def respond(
|
13 |
message,
|
14 |
-
history
|
15 |
systemmessage,
|
16 |
maxtokens,
|
17 |
temperature,
|
@@ -58,7 +58,7 @@ demo = gr.ChatInterface(
|
|
58 |
label="Top-p (nucleus sampling)",
|
59 |
),
|
60 |
],
|
61 |
-
inputs=history,
|
62 |
outputs="text",
|
63 |
)
|
64 |
|
|
|
11 |
|
12 |
def respond(
|
13 |
message,
|
14 |
+
history,
|
15 |
systemmessage,
|
16 |
maxtokens,
|
17 |
temperature,
|
|
|
58 |
label="Top-p (nucleus sampling)",
|
59 |
),
|
60 |
],
|
61 |
+
inputs=("text", "history"),
|
62 |
outputs="text",
|
63 |
)
|
64 |
|