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() | |