Spaces:
Running on Zero
Running on Zero
Fix CSS and remove queue
Browse files
app.py
CHANGED
|
@@ -226,8 +226,10 @@ try:
|
|
| 226 |
except Exception as e: # a flaky ZeroGPU worker must not take down the Space
|
| 227 |
print(f"[warmup] failed (will warm lazily on first request): {e!r}", flush=True)
|
| 228 |
|
| 229 |
-
|
| 230 |
-
|
|
|
|
|
|
|
| 231 |
gr.Markdown(
|
| 232 |
"# Ideogram 4\n"
|
| 233 |
"Ideogram's first open-weights model — a 9.3B-parameter text-to-image foundation model at the "
|
|
@@ -278,4 +280,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), title="Ideogram 4") as demo:
|
|
| 278 |
outputs=[out_image, seed, out_caption],
|
| 279 |
)
|
| 280 |
|
| 281 |
-
demo.
|
|
|
|
| 226 |
except Exception as e: # a flaky ZeroGPU worker must not take down the Space
|
| 227 |
print(f"[warmup] failed (will warm lazily on first request): {e!r}", flush=True)
|
| 228 |
|
| 229 |
+
CSS='''
|
| 230 |
+
.dark .gradio-container { color: var(--body-text-color); }
|
| 231 |
+
'''
|
| 232 |
+
with gr.Blocks(theme=gr.themes.Citrus(), title="Ideogram 4", css=CSS) as demo:
|
| 233 |
gr.Markdown(
|
| 234 |
"# Ideogram 4\n"
|
| 235 |
"Ideogram's first open-weights model — a 9.3B-parameter text-to-image foundation model at the "
|
|
|
|
| 280 |
outputs=[out_image, seed, out_caption],
|
| 281 |
)
|
| 282 |
|
| 283 |
+
demo.launch()
|