Text-Summarization / helloworld.py
yes2code's picture
Create helloworld.py
09848aa
raw
history blame
306 Bytes
import gradio as gr
with gr.Blocks(analytics_enabled=False, title="Test") as app:
gr.Label('Hello World!')
def greet(name):
return "Hello " + name + "!!"
#app = gr.Interface(fn=greet, inputs="text", outputs="text")
#print('before launch')
app.launch(share=True,)
#print('after launch') # executes