Spaces:
Runtime error
Runtime error
File size: 488 Bytes
64faf29 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
"""
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()
|