import gradio as gr | |
def greet(name): | |
text = "This is my first App.\n" | |
text += ("Hello " + name + "!!") | |
return text | |
iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
iface.launch() | |
# no need for additional commit? |
import gradio as gr | |
def greet(name): | |
text = "This is my first App.\n" | |
text += ("Hello " + name + "!!") | |
return text | |
iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
iface.launch() | |
# no need for additional commit? |