aliabd's picture
aliabd HF staff
Upload folder using huggingface_hub
6a9408a verified
raw
history blame
232 Bytes
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()