Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,34 +116,8 @@ def process_answer(img, answer):
|
|
| 116 |
with gr.Blocks(title="moondream vl (new)") as demo:
|
| 117 |
gr.HTML(
|
| 118 |
"""
|
| 119 |
-
<script>
|
| 120 |
-
window.addEventListener('load', function () {
|
| 121 |
-
gradioURL = window.location.href;
|
| 122 |
-
if (!gradioURL.endsWith('?__theme=dark')) {
|
| 123 |
-
window.location.replace(gradioURL + '?__theme=dark');
|
| 124 |
-
}
|
| 125 |
-
});
|
| 126 |
-
</script>
|
| 127 |
<style type="text/css">
|
| 128 |
.output-text span p { font-size: 1.4rem !important; }
|
| 129 |
-
/* Add a beautiful dark background animation for space theme */
|
| 130 |
-
body gradio-app {
|
| 131 |
-
background: linear-gradient(to right, #0c0d21, #1f1e33) !important;
|
| 132 |
-
animation: gradientBG 15s ease infinite;
|
| 133 |
-
background-size: 400% 400%;
|
| 134 |
-
}
|
| 135 |
-
|
| 136 |
-
@keyframes gradientBG {
|
| 137 |
-
0% {
|
| 138 |
-
background-position: 0% 50%;
|
| 139 |
-
}
|
| 140 |
-
50% {
|
| 141 |
-
background-position: 100% 50%;
|
| 142 |
-
}
|
| 143 |
-
100% {
|
| 144 |
-
background-position: 0% 50%;
|
| 145 |
-
}
|
| 146 |
-
}
|
| 147 |
</style>
|
| 148 |
"""
|
| 149 |
)
|
|
|
|
| 116 |
with gr.Blocks(title="moondream vl (new)") as demo:
|
| 117 |
gr.HTML(
|
| 118 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
<style type="text/css">
|
| 120 |
.output-text span p { font-size: 1.4rem !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
</style>
|
| 122 |
"""
|
| 123 |
)
|