Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ body {
|
|
| 79 |
textarea {
|
| 80 |
border:none;
|
| 81 |
outline:none;
|
| 82 |
-
border-radius:
|
| 83 |
padding:12px;
|
| 84 |
background-color:#1a1a1a;
|
| 85 |
color:#fff;
|
|
@@ -89,11 +89,15 @@ textarea {
|
|
| 89 |
}
|
| 90 |
button {
|
| 91 |
border:none;
|
| 92 |
-
border-radius:
|
| 93 |
background-color:#444;
|
| 94 |
color:#fff;
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
cursor:pointer;
|
| 98 |
}
|
| 99 |
button:hover {
|
|
@@ -102,7 +106,7 @@ button:hover {
|
|
| 102 |
""") as demo:
|
| 103 |
with gr.Sidebar():
|
| 104 |
gr.LoginButton()
|
| 105 |
-
|
| 106 |
chatbot.render()
|
| 107 |
gr.HTML(fade_js)
|
| 108 |
|
|
|
|
| 79 |
textarea {
|
| 80 |
border:none;
|
| 81 |
outline:none;
|
| 82 |
+
border-radius:25px;
|
| 83 |
padding:12px;
|
| 84 |
background-color:#1a1a1a;
|
| 85 |
color:#fff;
|
|
|
|
| 89 |
}
|
| 90 |
button {
|
| 91 |
border:none;
|
| 92 |
+
border-radius:50%; /* agora é círculo */
|
| 93 |
background-color:#444;
|
| 94 |
color:#fff;
|
| 95 |
+
width:48px;
|
| 96 |
+
height:48px;
|
| 97 |
+
font-size:18px;
|
| 98 |
+
display:flex;
|
| 99 |
+
align-items:center;
|
| 100 |
+
justify-content:center;
|
| 101 |
cursor:pointer;
|
| 102 |
}
|
| 103 |
button:hover {
|
|
|
|
| 106 |
""") as demo:
|
| 107 |
with gr.Sidebar():
|
| 108 |
gr.LoginButton()
|
| 109 |
+
|
| 110 |
chatbot.render()
|
| 111 |
gr.HTML(fade_js)
|
| 112 |
|