Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,48 +112,9 @@ with gr.Blocks(css=css) as myface:
|
|
| 112 |
top:50%;
|
| 113 |
background-image: linear-gradient(#6d43e4, #8150df) !important;
|
| 114 |
border-radius: 24px !important;
|
|
|
|
|
|
|
| 115 |
}
|
| 116 |
-
|
| 117 |
-
.gr-button:before {
|
| 118 |
-
content: "hello";
|
| 119 |
-
background: linear-gradient(
|
| 120 |
-
45deg,
|
| 121 |
-
#ff0000,
|
| 122 |
-
#ff7300,
|
| 123 |
-
#fffb00,
|
| 124 |
-
#48ff00,
|
| 125 |
-
#00ffd5,
|
| 126 |
-
#002bff,
|
| 127 |
-
#7a00ff,
|
| 128 |
-
#ff00c8,
|
| 129 |
-
#ff0000
|
| 130 |
-
);
|
| 131 |
-
position: absolute;
|
| 132 |
-
top: -2px;
|
| 133 |
-
left: -2px;
|
| 134 |
-
background-size: 400%;
|
| 135 |
-
z-index: -1;
|
| 136 |
-
filter: blur(5px);
|
| 137 |
-
-webkit-filter: blur(5px);
|
| 138 |
-
width: calc(100% + 4px);
|
| 139 |
-
height: calc(100% + 4px);
|
| 140 |
-
animation: glowing 20s linear infinite;
|
| 141 |
-
transition: opactiy 0.3s ease-in-out;
|
| 142 |
-
border-radius: 10px;
|
| 143 |
-
}
|
| 144 |
-
|
| 145 |
-
@keyframes glowing {
|
| 146 |
-
0% {
|
| 147 |
-
background-position: 0 0;
|
| 148 |
-
}
|
| 149 |
-
50% {
|
| 150 |
-
background-position: 400% 0;
|
| 151 |
-
}
|
| 152 |
-
100% {
|
| 153 |
-
background-position: 0 0;
|
| 154 |
-
}
|
| 155 |
-
}
|
| 156 |
-
|
| 157 |
</style>""")
|
| 158 |
run=gr.Button("Generate Image")
|
| 159 |
with gr.Row():
|
|
|
|
| 112 |
top:50%;
|
| 113 |
background-image: linear-gradient(#6d43e4, #8150df) !important;
|
| 114 |
border-radius: 24px !important;
|
| 115 |
+
border: 12px outset #95c200;
|
| 116 |
+
padding: 6px 30px;
|
| 117 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
</style>""")
|
| 119 |
run=gr.Button("Generate Image")
|
| 120 |
with gr.Row():
|