Update app.py
Browse files
app.py
CHANGED
@@ -20,15 +20,15 @@ demo = gr.Interface(
|
|
20 |
inputs=gr.Textbox(label="Insert jargon here (ask a question):", placeholder="E.g. What are gas fees?"),
|
21 |
outputs=gr.Textbox(label="Get a simple answer in return:"),
|
22 |
css="""
|
23 |
-
body {
|
24 |
-
background-color: #f2f2f2;
|
25 |
}
|
26 |
-
.input_text, .output_text {
|
27 |
-
color: #4b4b4b;
|
28 |
-
background-color: #e8e8e8;
|
29 |
-
font-family: 'Arial', sans-serif;
|
30 |
-
font-size: 16px;
|
31 |
-
border-radius: 5px;
|
32 |
}
|
33 |
.input_label, .output_label { /* Change the style of input and output labels */
|
34 |
color: #3a3a3a;
|
@@ -36,12 +36,12 @@ demo = gr.Interface(
|
|
36 |
font-size: 18px;
|
37 |
font-weight: bold;
|
38 |
}
|
39 |
-
.button {
|
40 |
-
background-color: #007BFF;
|
41 |
-
color: white;
|
42 |
-
font-family: 'Arial', sans-serif;
|
43 |
-
font-size: 16px;
|
44 |
-
border-radius: 5px;
|
45 |
}
|
46 |
.button:hover { /* Change the style of the submit button on hover */
|
47 |
background-color: #0056b3;
|
|
|
20 |
inputs=gr.Textbox(label="Insert jargon here (ask a question):", placeholder="E.g. What are gas fees?"),
|
21 |
outputs=gr.Textbox(label="Get a simple answer in return:"),
|
22 |
css="""
|
23 |
+
body {
|
24 |
+
background-color: #f2f2f2 !important;
|
25 |
}
|
26 |
+
.input_text, .output_text {
|
27 |
+
color: #4b4b4b !important;
|
28 |
+
background-color: #e8e8e8 !important;
|
29 |
+
font-family: 'Arial' !important, sans-serif !important;
|
30 |
+
font-size: 16px !important;
|
31 |
+
border-radius: 5px !important;
|
32 |
}
|
33 |
.input_label, .output_label { /* Change the style of input and output labels */
|
34 |
color: #3a3a3a;
|
|
|
36 |
font-size: 18px;
|
37 |
font-weight: bold;
|
38 |
}
|
39 |
+
.button {
|
40 |
+
background-color: #007BFF !important;
|
41 |
+
color: white !important;
|
42 |
+
font-family: 'Arial' !important, sans-serif !important;
|
43 |
+
font-size: 16px !important;
|
44 |
+
border-radius: 5px !important;
|
45 |
}
|
46 |
.button:hover { /* Change the style of the submit button on hover */
|
47 |
background-color: #0056b3;
|