File size: 470 Bytes
fa0c70b d6f1250 fa0c70b fcc0f57 a1fc51b 686d56e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
def mensagem(nome):
return "Hello " + nome + "!\n" "My name is Anderson Lopes, I invite you to join me on this fascinating journey and explore the transformative potential of Deep Learning and NLP."
app_title = "Welcome! Allow me to introduce? Type your name!"
app_css = """
.gr-interface-title {
text-align: center;
}
"""
mostrar = gr.Interface(fn=mensagem, inputs="text", outputs="text", title=app_title, css=app_css)
mostrar.launch()
|