removing extra css
Browse files
app.py
CHANGED
@@ -84,37 +84,6 @@ examples = [
|
|
84 |
[load_image_from_file('example8.webp')],
|
85 |
]
|
86 |
|
87 |
-
css = """
|
88 |
-
body {
|
89 |
-
background-color: rgb(3, 7, 18);
|
90 |
-
color: white;
|
91 |
-
}
|
92 |
-
.gradio-container {
|
93 |
-
background-color: rgb(3, 7, 18) !important;
|
94 |
-
border: none !important;
|
95 |
-
padding: 5px !important;
|
96 |
-
}
|
97 |
-
#example_img .hide-container{
|
98 |
-
height:100%;
|
99 |
-
width:100%;
|
100 |
-
transition: transform 0.5s ease;
|
101 |
-
}
|
102 |
-
#example_img {
|
103 |
-
width:100%;
|
104 |
-
height:100%;
|
105 |
-
}
|
106 |
-
#example_img img{
|
107 |
-
height:40px;
|
108 |
-
width:40px;
|
109 |
-
transition: transform 0.5s ease;
|
110 |
-
}
|
111 |
-
#example_img .container{
|
112 |
-
height:40px;
|
113 |
-
width:40px;
|
114 |
-
transition: transform 0.5s ease;
|
115 |
-
}
|
116 |
-
footer {display: none !important;}
|
117 |
-
"""
|
118 |
js='''
|
119 |
<script>
|
120 |
window.cur_process_step = "";
|
@@ -207,7 +176,7 @@ window.onDemoLoad = function(x){
|
|
207 |
</script>
|
208 |
'''
|
209 |
|
210 |
-
with gr.Blocks(
|
211 |
width=240
|
212 |
height=340
|
213 |
|
|
|
84 |
[load_image_from_file('example8.webp')],
|
85 |
]
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
js='''
|
88 |
<script>
|
89 |
window.cur_process_step = "";
|
|
|
176 |
</script>
|
177 |
'''
|
178 |
|
179 |
+
with gr.Blocks(head=js, theme="Nymbo/Alyx_Theme") as demo:
|
180 |
width=240
|
181 |
height=340
|
182 |
|