Spaces:
Runtime error
Runtime error
File size: 297 Bytes
e20bcf8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
from gradio_gptchatbot import GPTChatbot
example = GPTChatbot().example_inputs()
with gr.Blocks() as demo:
with gr.Row():
GPTChatbot(label="Blank"), # blank component
GPTChatbot(value=example, label="Populated"), # populated component
demo.launch()
|