Update app.py
Browse files
app.py
CHANGED
|
@@ -61,6 +61,7 @@ interface = gr.Interface(
|
|
| 61 |
100% { background-position: 0% 50%; }
|
| 62 |
}
|
| 63 |
|
|
|
|
| 64 |
.gradio-container {
|
| 65 |
background: rgba(0, 0, 0, 0.5);
|
| 66 |
border-radius: 20px;
|
|
@@ -69,6 +70,17 @@ interface = gr.Interface(
|
|
| 69 |
max-width: 700px;
|
| 70 |
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
|
| 71 |
overflow-y: auto; /* Make content inside the container scrollable */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
|
| 74 |
.gradio-header {
|
|
|
|
| 61 |
100% { background-position: 0% 50%; }
|
| 62 |
}
|
| 63 |
|
| 64 |
+
/* Adding the background animation */
|
| 65 |
.gradio-container {
|
| 66 |
background: rgba(0, 0, 0, 0.5);
|
| 67 |
border-radius: 20px;
|
|
|
|
| 70 |
max-width: 700px;
|
| 71 |
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
|
| 72 |
overflow-y: auto; /* Make content inside the container scrollable */
|
| 73 |
+
animation: fadeIn 1s ease-out;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
/* Fade in effect for container */
|
| 77 |
+
@keyframes fadeIn {
|
| 78 |
+
from {
|
| 79 |
+
opacity: 0;
|
| 80 |
+
}
|
| 81 |
+
to {
|
| 82 |
+
opacity: 1;
|
| 83 |
+
}
|
| 84 |
}
|
| 85 |
|
| 86 |
.gradio-header {
|