Spaces:
Sleeping
Sleeping
maxinethegreat
commited on
Commit
•
8c1b2ed
1
Parent(s):
f8714b7
add aesthetics
Browse files
app.py
CHANGED
@@ -4,5 +4,12 @@ def greet(name):
|
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
|
7 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
iface.launch()
|
|
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
|
7 |
+
iface = gr.Interface(
|
8 |
+
fn = greet,
|
9 |
+
inputs="text",
|
10 |
+
outputs="text",
|
11 |
+
title = "Mood Detective",
|
12 |
+
description = "real-time emotion detection"
|
13 |
+
)
|
14 |
+
|
15 |
iface.launch()
|