Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,10 +103,10 @@ class GradioInterface:
|
|
103 |
self.prompt_refiner = prompt_refiner
|
104 |
custom_css = """
|
105 |
.container {
|
106 |
-
border: 2px solid #
|
107 |
border-radius: 10px;
|
108 |
-
padding: 12px;
|
109 |
-
margin:
|
110 |
background: white;
|
111 |
position: relative;
|
112 |
}
|
@@ -117,7 +117,7 @@ class GradioInterface:
|
|
117 |
left: 20px;
|
118 |
background: white;
|
119 |
padding: 0 10px;
|
120 |
-
color: #
|
121 |
font-weight: bold;
|
122 |
font-size: 1.2em;
|
123 |
}
|
@@ -126,10 +126,9 @@ class GradioInterface:
|
|
126 |
.gradio-container input,
|
127 |
.gradio-container textarea,
|
128 |
.gradio-container select,
|
129 |
-
.gradio-container .gr-text-input,
|
130 |
-
.gradio-container .gr-input,
|
131 |
.gradio-container .gr-box,
|
132 |
-
.gradio-container .gr-
|
|
|
133 |
border: none !important;
|
134 |
background: transparent !important;
|
135 |
box-shadow: none !important;
|
@@ -153,7 +152,17 @@ class GradioInterface:
|
|
153 |
.radio-group {
|
154 |
display: flex;
|
155 |
gap: 8px;
|
156 |
-
margin:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
158 |
"""
|
159 |
|
|
|
103 |
self.prompt_refiner = prompt_refiner
|
104 |
custom_css = """
|
105 |
.container {
|
106 |
+
border: 2px solid #2196F3;
|
107 |
border-radius: 10px;
|
108 |
+
padding: 12px; /* Reduced padding */
|
109 |
+
margin: 6px; /* Reduced margin between containers */
|
110 |
background: white;
|
111 |
position: relative;
|
112 |
}
|
|
|
117 |
left: 20px;
|
118 |
background: white;
|
119 |
padding: 0 10px;
|
120 |
+
color: #2196F3;
|
121 |
font-weight: bold;
|
122 |
font-size: 1.2em;
|
123 |
}
|
|
|
126 |
.gradio-container input,
|
127 |
.gradio-container textarea,
|
128 |
.gradio-container select,
|
|
|
|
|
129 |
.gradio-container .gr-box,
|
130 |
+
.gradio-container .gr-input,
|
131 |
+
.gradio-container .gr-panel {
|
132 |
border: none !important;
|
133 |
background: transparent !important;
|
134 |
box-shadow: none !important;
|
|
|
152 |
.radio-group {
|
153 |
display: flex;
|
154 |
gap: 8px;
|
155 |
+
margin: 6px 0;
|
156 |
+
}
|
157 |
+
|
158 |
+
/* Remove gradio container borders */
|
159 |
+
.gradio-container {
|
160 |
+
border: none !important;
|
161 |
+
}
|
162 |
+
|
163 |
+
/* Remove any remaining borders */
|
164 |
+
.container * {
|
165 |
+
border-color: transparent !important;
|
166 |
}
|
167 |
"""
|
168 |
|