icapp_space / app.py
gmshroff's picture
fix
63318d3
raw
history blame
260 Bytes
import gradio as gr
import anvil.server
anvil.server.connect('55MH4EBKM22EP4E6D5T6CVSL-VGO5X4SM6JEXGJVT')
@anvil.server.callable
def greet(name):
return 'Hello World ' + name
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()