Update app.py
Browse files
app.py
CHANGED
@@ -20,13 +20,34 @@ 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 |
title="Web(GPT)3",
|
23 |
-
css="""
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
)
|
31 |
|
32 |
|
|
|
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 |
title="Web(GPT)3",
|
23 |
+
css="""
|
24 |
+
body {
|
25 |
+
background-color: #f2f2f2 !important;
|
26 |
+
}
|
27 |
+
.input_text, .output_text {
|
28 |
+
color: #4b4b4b !important;
|
29 |
+
background-color: #e8e8e8 !important;
|
30 |
+
font-family: 'Arial' !important, sans-serif !important;
|
31 |
+
font-size: 16px !important;
|
32 |
+
border-radius: 5px !important;
|
33 |
+
}
|
34 |
+
.input_label, .output_label { /* Change the style of input and output labels */
|
35 |
+
color: #3a3a3a;
|
36 |
+
font-family: 'Arial', sans-serif;
|
37 |
+
font-size: 18px;
|
38 |
+
font-weight: bold;
|
39 |
+
}
|
40 |
+
.button {
|
41 |
+
background-color: #007BFF !important;
|
42 |
+
color: white !important;
|
43 |
+
font-family: 'Arial' !important, sans-serif !important;
|
44 |
+
font-size: 16px !important;
|
45 |
+
border-radius: 5px !important;
|
46 |
+
}
|
47 |
+
.button:hover { /* Change the style of the submit button on hover */
|
48 |
+
background-color: #0056b3;
|
49 |
+
}
|
50 |
+
"""
|
51 |
)
|
52 |
|
53 |
|