Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,10 @@ demo = gr.Interface(
|
|
| 19 |
fn=CustomChatGPT,
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
.input_text, .output_text { /* Change input and output textboxes styles */
|
| 24 |
color: #4b4b4b;
|
| 25 |
background-color: #e8e8e8;
|
|
@@ -40,8 +43,11 @@ demo = gr.Interface(
|
|
| 40 |
font-size: 16px;
|
| 41 |
border-radius: 5px; /* Add rounded corners to the button */
|
| 42 |
}
|
|
|
|
|
|
|
|
|
|
| 43 |
""",
|
| 44 |
-
|
| 45 |
title="Web(GPT)3"
|
| 46 |
)
|
| 47 |
|
|
|
|
| 19 |
fn=CustomChatGPT,
|
| 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 { /* Modify the background color of the entire interface */
|
| 24 |
+
background-color: #f2f2f2;
|
| 25 |
+
}
|
| 26 |
.input_text, .output_text { /* Change input and output textboxes styles */
|
| 27 |
color: #4b4b4b;
|
| 28 |
background-color: #e8e8e8;
|
|
|
|
| 43 |
font-size: 16px;
|
| 44 |
border-radius: 5px; /* Add rounded corners to the button */
|
| 45 |
}
|
| 46 |
+
.button:hover { /* Change the style of the submit button on hover */
|
| 47 |
+
background-color: #0056b3;
|
| 48 |
+
}
|
| 49 |
""",
|
| 50 |
+
|
| 51 |
title="Web(GPT)3"
|
| 52 |
)
|
| 53 |
|