jjz5463 commited on
Commit
b312ef4
·
1 Parent(s): 3f815a2

task completed failed update

Browse files
Files changed (1) hide show
  1. app.py +24 -8
app.py CHANGED
@@ -72,27 +72,43 @@ def chat(user_input, history):
72
  return invalid_response
73
 
74
  css = """
75
- body {
76
  background-color: #121212 !important;
77
  color: white !important;
78
  }
79
- .gradio-container {
80
- background-color: #121212 !important;
 
 
 
 
 
 
 
81
  color: white !important;
 
82
  }
83
- .chatbox-message, .gr-input, input[type="text"], textarea, .gradio-input, .gradio-output {
 
84
  background-color: #1e1e1e !important;
85
  color: white !important;
86
- border: 1px solid #333 !important;
87
  }
88
- button {
 
 
 
 
 
 
89
  background-color: #333 !important;
90
  color: white !important;
91
- border: 1px solid #555 !important;
92
  }
93
- .chat-interface {
 
94
  background-color: #1e1e1e !important;
95
  color: white !important;
 
96
  }
97
  """
98
 
 
72
  return invalid_response
73
 
74
  css = """
75
+ body, .gradio-container {
76
  background-color: #121212 !important;
77
  color: white !important;
78
  }
79
+
80
+ input[type="text"], textarea, .gr-input, .gr-textbox, .gradio-container .gr-markdown, .gradio-container .gr-button, .gr-box, .gr-button {
81
+ background-color: #1e1e1e !important;
82
+ color: white !important;
83
+ border: 1px solid #333 !important;
84
+ }
85
+
86
+ .gr-button {
87
+ background-color: #333 !important;
88
  color: white !important;
89
+ border: 1px solid #555 !important;
90
  }
91
+
92
+ .gradio-container .gr-chat-message, .chatbox-message {
93
  background-color: #1e1e1e !important;
94
  color: white !important;
 
95
  }
96
+
97
+ .gradio-container .gr-chat-interface, .chat-interface {
98
+ background-color: #1e1e1e !important;
99
+ color: white !important;
100
+ }
101
+
102
+ .gradio-container .gr-button-secondary, .gradio-container .gr-button-primary {
103
  background-color: #333 !important;
104
  color: white !important;
105
+ border-color: #555 !important;
106
  }
107
+
108
+ .gr-input, .gr-textbox, .gradio-container input, .gradio-container textarea, .gradio-container select {
109
  background-color: #1e1e1e !important;
110
  color: white !important;
111
+ border: 1px solid #555 !important;
112
  }
113
  """
114