Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return f"Olá, {name}! Bem-vindo ao Monitor Diário."
|
5 |
+
|
6 |
+
# Interface Gradio
|
7 |
+
demo = gr.Interface(
|
8 |
+
fn=greet,
|
9 |
+
inputs="text",
|
10 |
+
outputs="text",
|
11 |
+
title="Monitor Diário",
|
12 |
+
description="Digite seu nome e receba uma saudação personalizada."
|
13 |
+
)
|
14 |
+
|
15 |
+
demo.launch()
|