JaweriaGenAI commited on
Commit
6e27adf
Β·
verified Β·
1 Parent(s): f0646a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -5
app.py CHANGED
@@ -69,6 +69,7 @@ def load_chat(name):
69
  return [], [], f"❌ Load error: {e}"
70
 
71
  # 🌌 Gradio UI
 
72
  with gr.Blocks(css="""
73
  body {
74
  background-color: #111 !important;
@@ -81,16 +82,28 @@ with gr.Blocks(css="""
81
  color: white !important;
82
  text-align: center !important;
83
  }
 
84
  .gr-chatbot-message, .gr-textbox, textarea, input[type='text'], input, select,
85
- .gr-dropdown, .gr-markdown, .gr-label, .gr-button, .gr-row, .gr-column {
86
- background-color: #111 !important;
 
87
  color: white !important;
88
- border-radius: 6px;
89
- border: 1px solid #444 !important;
90
  }
 
 
91
  .gr-button:hover {
92
- background-color: #333 !important;
93
  }
 
 
 
 
 
 
 
 
94
  .gr-dropdown {
95
  max-height: 150px;
96
  overflow-y: auto;
 
69
  return [], [], f"❌ Load error: {e}"
70
 
71
  # 🌌 Gradio UI
72
+
73
  with gr.Blocks(css="""
74
  body {
75
  background-color: #111 !important;
 
82
  color: white !important;
83
  text-align: center !important;
84
  }
85
+ /* Voice box, input, buttons, dropdowns, etc. */
86
  .gr-chatbot-message, .gr-textbox, textarea, input[type='text'], input, select,
87
+ .gr-dropdown, .gr-markdown, .gr-label, .gr-button, .gr-audio, .gr-audio-label,
88
+ .gr-row, .gr-column, .form, .form-wrap {
89
+ background-color: #000 !important;
90
  color: white !important;
91
+ border-radius: 8px;
92
+ border: 1px solid #333 !important;
93
  }
94
+
95
+ /* Hover effect for buttons */
96
  .gr-button:hover {
97
+ background-color: #222 !important;
98
  }
99
+
100
+ /* Voice box tweaks */
101
+ audio, .gr-audio-box {
102
+ background-color: #000 !important;
103
+ color: white !important;
104
+ }
105
+
106
+ /* Make dropdown scrollable */
107
  .gr-dropdown {
108
  max-height: 150px;
109
  overflow-y: auto;