testVariable3 / app.py
eternalBlissard's picture
Create app.py
f1bf98e verified
raw
history blame
307 Bytes
import gradio as gr
val = None
def respond(newVal):
global val
if(val is None):
val = newVal
return val
demo = gr.Interface(fn=respond,
inputs = [gr.Textbox()],
outputs= [gr.Textbox()],
title = 'Simplify')
demo.launch()