Spaces:
Sleeping
Sleeping
Add custom css
Browse files
app.py
CHANGED
@@ -3,7 +3,28 @@ import gradio as gr
|
|
3 |
from transcription import process_audio
|
4 |
|
5 |
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
gr.Markdown("# ๐๏ธ Voice-Powered AI Assistant.")
|
8 |
|
9 |
api_key_input = gr.Textbox(type="password", label="Enter your Groq API Key")
|
|
|
3 |
from transcription import process_audio
|
4 |
|
5 |
|
6 |
+
custom_css = """
|
7 |
+
.gradio-container {
|
8 |
+
background-color: #f5f5f5;
|
9 |
+
}
|
10 |
+
.gr-button-primary {
|
11 |
+
background-color: #f55036 !important;
|
12 |
+
border-color: #f55036 !important;
|
13 |
+
}
|
14 |
+
.gr-button-secondary {
|
15 |
+
color: #f55036 !important;
|
16 |
+
border-color: #f55036 !important;
|
17 |
+
}
|
18 |
+
#groq-badge {
|
19 |
+
position: fixed;
|
20 |
+
bottom: 20px;
|
21 |
+
right: 20px;
|
22 |
+
z-index: 1000;
|
23 |
+
}
|
24 |
+
"""
|
25 |
+
|
26 |
+
|
27 |
+
with gr.Blocks(theme=gr.themes.Default(), css=custom_css) as app:
|
28 |
gr.Markdown("# ๐๏ธ Voice-Powered AI Assistant.")
|
29 |
|
30 |
api_key_input = gr.Textbox(type="password", label="Enter your Groq API Key")
|