Update app.py
Browse files
app.py
CHANGED
|
@@ -19,36 +19,9 @@ 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 |
-
title="Web(GPT)3"
|
| 23 |
-
css="""
|
| 24 |
-
body {
|
| 25 |
-
background-color: #FFFFFF !important;
|
| 26 |
-
}
|
| 27 |
-
.input_text, .output_text {
|
| 28 |
-
color: #000000 !important;
|
| 29 |
-
background-color: #FFFFFF !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: #000000;
|
| 36 |
-
font-family: 'Arial', sans-serif;
|
| 37 |
-
font-size: 18px;
|
| 38 |
-
font-weight: bold;
|
| 39 |
-
}
|
| 40 |
-
.button {
|
| 41 |
-
background-color: #DF3840 !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 |
|
| 54 |
|
|
|
|
| 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 |
+
title="Web(GPT)3"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
)
|
| 24 |
+
.gradio-app(src="https://web3daily-webgpt3.hf.space?__theme=light")
|
| 25 |
|
| 26 |
|
| 27 |
|