Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,8 +43,8 @@ mychatbot = gr.Chatbot(
|
|
| 43 |
)
|
| 44 |
|
| 45 |
demo = gr.Interface(fn=generate,
|
| 46 |
-
inputs=[gr.
|
| 47 |
-
outputs=[gr.
|
| 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 |
)
|