Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,7 +101,32 @@ interface = gr.Interface(fn=gradio_interface,
|
|
| 101 |
outputs="markdown",
|
| 102 |
title="EmoGroove- An Emotion-Based Song Recommender",
|
| 103 |
description="Enter a sentence to predict its emotion and get song recommendations based on that emotion and your preferred language.",
|
| 104 |
-
allow_flagging="never"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
# Launch the app
|
| 107 |
interface.launch(share=True)
|
|
|
|
| 101 |
outputs="markdown",
|
| 102 |
title="EmoGroove- An Emotion-Based Song Recommender",
|
| 103 |
description="Enter a sentence to predict its emotion and get song recommendations based on that emotion and your preferred language.",
|
| 104 |
+
allow_flagging="never",
|
| 105 |
+
theme={
|
| 106 |
+
"primary_hue": "blue",
|
| 107 |
+
"primary_text": "white",
|
| 108 |
+
"background_fill": "#282c34",
|
| 109 |
+
"secondary_fill": "#61dafb",
|
| 110 |
+
"secondary_text": "#000",
|
| 111 |
+
"border_radius": "10px",
|
| 112 |
+
},
|
| 113 |
+
css="""
|
| 114 |
+
body {
|
| 115 |
+
font-family: "Permanent Marker", serif;
|
| 116 |
+
}
|
| 117 |
+
.gr-button {
|
| 118 |
+
background-color: #61dafb !important;
|
| 119 |
+
color: #000 !important;
|
| 120 |
+
border-radius: 10px !important;
|
| 121 |
+
}
|
| 122 |
+
.gr-textbox {
|
| 123 |
+
background-color: #f9f9f9 !important;
|
| 124 |
+
color: #000 !important;
|
| 125 |
+
font-size: 16px !important;
|
| 126 |
+
}
|
| 127 |
+
"""
|
| 128 |
+
)
|
| 129 |
+
|
| 130 |
|
| 131 |
# Launch the app
|
| 132 |
interface.launch(share=True)
|