FlipTip commited on
Commit
6842b36
1 Parent(s): ce54d8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ mychatbot = gr.Chatbot(
43
  )
44
 
45
  demo = gr.Interface(fn=generate,
46
- inputs=[gr.inputs.Textbox(lines=2, label="Your Message"), "state", "state"],
47
- outputs=[gr.outputs.Textbox(label="ChatGPT's Response"), "state", "state"],
48
  title="Tomoniai's Mixtral 8x7b Chat",
49
  allow_flagging="never"
50
  )
 
43
  )
44
 
45
  demo = gr.Interface(fn=generate,
46
+ inputs=[gr.Textbox(lines=2, label="Your Message"), gr.State(), gr.State()],
47
+ outputs=[gr.Textbox(label="ChatGPT's Response"), gr.State(), gr.State()],
48
  title="Tomoniai's Mixtral 8x7b Chat",
49
  allow_flagging="never"
50
  )