Spaces:
Runtime error
Runtime error
""" | |
My first gradio application, used to practice the deployment of a deep learning model | |
""" | |
import gradio as gr | |
def greet(name): | |
""" | |
Returns a welcome message | |
""" | |
return "Hello " + name + "!!" | |
iface = gr.Interface(fn=greet, inputs="text", outputs="text") # An example of how to use Gradio to create a simple | |
# text to text interface with a function, the inputs and outputs can be represented as different things as seen in | |
# the gradio documentation | |
iface.launch() | |