mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-18 10:44:33 +08:00
Change output to chatbot (#1401)
This commit is contained in:
parent
2eaf61cf76
commit
3a10ed894b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user