Update app.py
Browse files
app.py
CHANGED
|
@@ -10,15 +10,6 @@ def classify_audio(filepath):
|
|
| 10 |
outputs[p["label"]] = p["score"]
|
| 11 |
return outputs
|
| 12 |
|
| 13 |
-
# Custom CSS for dark theme
|
| 14 |
-
custom_css = """
|
| 15 |
-
body {
|
| 16 |
-
background-color: #1e1e1e; /* Dark background color */
|
| 17 |
-
color: #ffffff; /* Light text color */
|
| 18 |
-
}
|
| 19 |
-
"""
|
| 20 |
-
|
| 21 |
-
|
| 22 |
import gradio as gr
|
| 23 |
|
| 24 |
demo = gr.Interface(
|
|
@@ -29,4 +20,6 @@ demo = gr.Interface(
|
|
| 29 |
css=custom_css
|
| 30 |
)
|
| 31 |
|
|
|
|
|
|
|
| 32 |
demo.launch(debug=True)
|
|
|
|
| 10 |
outputs[p["label"]] = p["score"]
|
| 11 |
return outputs
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
import gradio as gr
|
| 14 |
|
| 15 |
demo = gr.Interface(
|
|
|
|
| 20 |
css=custom_css
|
| 21 |
)
|
| 22 |
|
| 23 |
+
gradio.Base(primary_hue("green"))
|
| 24 |
+
|
| 25 |
demo.launch(debug=True)
|