Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,20 @@ import gradio as gr
|
|
| 4 |
def greet(name):
|
| 5 |
return f"Hello, {name}!"
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Creating a Gradio interface
|
| 8 |
demo = gr.Interface(
|
| 9 |
fn=greet, inputs="text",
|
| 10 |
outputs="text",
|
| 11 |
title="Cute Greeting App",
|
| 12 |
description="This app greets the user with a fun message!",
|
| 13 |
-
css=
|
| 14 |
)
|
| 15 |
|
| 16 |
# Launch the app
|
|
|
|
| 4 |
def greet(name):
|
| 5 |
return f"Hello, {name}!"
|
| 6 |
|
| 7 |
+
|
| 8 |
+
css = """
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
# Creating a Gradio interface
|
| 15 |
demo = gr.Interface(
|
| 16 |
fn=greet, inputs="text",
|
| 17 |
outputs="text",
|
| 18 |
title="Cute Greeting App",
|
| 19 |
description="This app greets the user with a fun message!",
|
| 20 |
+
css=style.css
|
| 21 |
)
|
| 22 |
|
| 23 |
# Launch the app
|