Change output to chatbot (#1401)

This commit is contained in:
Satpal Singh Rathore 2022-05-27 23:58:19 +05:30 committed by GitHub
parent 2eaf61cf76
commit 3a10ed894b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ import gradio as gr
gr.Interface(fn=predict,
inputs=["text", "state"],
outputs=["text", "state"]).launch()
outputs=["chatbot", "state"]).launch()
```
This produces the following interface, which you can try right here in your browser (try typing in some simple greetings like "Hi!" to get started):