Raven7 commited on
Commit
b30e24b
·
verified ·
1 Parent(s): 93ce35f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ def load_prompts():
11
 
12
  def respond(
13
  message,
14
- history: list[tuple[str, str]],
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