File size: 338 Bytes
24e9244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

import gradio as gr
from gradio_richtextbox import RichTextbox


example = RichTextbox().example_inputs()

demo = gr.Interface(
    lambda x:x,
    RichTextbox(),  # interactive version
    RichTextbox(),  # static version
    examples=[[example]],  # uncomment this line to view the "example version" of your component
)

demo.launch()