File size: 212 Bytes
bc684f4
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

from gradio_space_ci import enable_space_ci

enable_space_ci()


def talk(text):
    return "the user said "+ text 

demo = gr.Interface(fn=talk, inputs="text", outputs="label")
demo.launch()