mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-07 11:46:51 +08:00
* changes * fix * fix for vars too * changes * fix tests Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
7 lines
190 B
Python
7 lines
190 B
Python
import gradio as gr
|
|
|
|
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).launch()
|