8365d6f 6a9408a 8365d6f
1
2
3
4
5
6
7
8
9
10
import gradio as gr demo = gr.Interface( lambda x, y: (x + y if y is not None else x, x + y if y is not None else x), ["textbox", "state"], ["textbox", "state"], live=True) if __name__ == "__main__": demo.launch()