Spaces:
Running
on
Zero
Running
on
Zero
Update Gradio app with multiple files
Browse files
app.py
CHANGED
|
@@ -92,27 +92,51 @@ css = '''
|
|
| 92 |
padding: 2rem;
|
| 93 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
| 94 |
}
|
| 95 |
-
.gradio-container {
|
| 96 |
background: linear-gradient(to bottom, #f5f5f7, #ffffff);
|
| 97 |
}
|
|
|
|
|
|
|
|
|
|
| 98 |
#title {
|
| 99 |
text-align: center;
|
| 100 |
font-size: 2.5rem;
|
| 101 |
font-weight: 600;
|
| 102 |
-
color: #1d1d1f;
|
| 103 |
margin-bottom: 0.5rem;
|
| 104 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
#description {
|
| 106 |
text-align: center;
|
| 107 |
font-size: 1.1rem;
|
| 108 |
-
color: #6e6e73;
|
| 109 |
margin-bottom: 2rem;
|
| 110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
.image-container {
|
| 112 |
border-radius: 18px;
|
| 113 |
overflow: hidden;
|
|
|
|
|
|
|
| 114 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
|
| 115 |
}
|
|
|
|
|
|
|
|
|
|
| 116 |
#convert-btn {
|
| 117 |
background: linear-gradient(180deg, #0071e3 0%, #0077ed 100%);
|
| 118 |
border: none;
|
|
|
|
| 92 |
padding: 2rem;
|
| 93 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
| 94 |
}
|
| 95 |
+
.gradio-container.light {
|
| 96 |
background: linear-gradient(to bottom, #f5f5f7, #ffffff);
|
| 97 |
}
|
| 98 |
+
.gradio-container.dark {
|
| 99 |
+
background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
|
| 100 |
+
}
|
| 101 |
#title {
|
| 102 |
text-align: center;
|
| 103 |
font-size: 2.5rem;
|
| 104 |
font-weight: 600;
|
|
|
|
| 105 |
margin-bottom: 0.5rem;
|
| 106 |
}
|
| 107 |
+
.light #title {
|
| 108 |
+
color: #1d1d1f;
|
| 109 |
+
}
|
| 110 |
+
.dark #title {
|
| 111 |
+
color: #f5f5f7;
|
| 112 |
+
}
|
| 113 |
#description {
|
| 114 |
text-align: center;
|
| 115 |
font-size: 1.1rem;
|
|
|
|
| 116 |
margin-bottom: 2rem;
|
| 117 |
}
|
| 118 |
+
.light #description {
|
| 119 |
+
color: #6e6e73;
|
| 120 |
+
}
|
| 121 |
+
.dark #description {
|
| 122 |
+
color: #a1a1a6;
|
| 123 |
+
}
|
| 124 |
+
.light #description a {
|
| 125 |
+
color: #0071e3;
|
| 126 |
+
}
|
| 127 |
+
.dark #description a {
|
| 128 |
+
color: #2997ff;
|
| 129 |
+
}
|
| 130 |
.image-container {
|
| 131 |
border-radius: 18px;
|
| 132 |
overflow: hidden;
|
| 133 |
+
}
|
| 134 |
+
.light .image-container {
|
| 135 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
|
| 136 |
}
|
| 137 |
+
.dark .image-container {
|
| 138 |
+
box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
|
| 139 |
+
}
|
| 140 |
#convert-btn {
|
| 141 |
background: linear-gradient(180deg, #0071e3 0%, #0077ed 100%);
|
| 142 |
border: none;
|