test1 / app.py
bgloh's picture
Update app.py
dde1922 verified
raw
history blame contribute delete
456 Bytes
#https://www.gradio.app/guides/quickstart
#The demo below will open in a browser on http://localhost:7860 if running from a file.
#If you are running within a notebook, the demo will appear embedded within the notebook.
import gradio as gr
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch() # Not shared publicly
#demo.launch(share = True) #If you wish to share your app publicly