multimodalart HF Staff commited on
Commit
672caae
·
verified ·
1 Parent(s): 12442ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -201,8 +201,10 @@ try:
201
  except Exception as e: # a flaky ZeroGPU worker must not take down the Space
202
  print(f"[warmup] failed (will warm lazily on first request): {e!r}", flush=True)
203
 
204
-
205
- with gr.Blocks(theme=gr.themes.Citrus(), title="Ideogram 4") as demo:
 
 
206
  gr.Markdown(
207
  "# Ideogram 4\n"
208
  "Ideogram's first open-weights model — a 9.3B-parameter text-to-image foundation model at the "
 
201
  except Exception as e: # a flaky ZeroGPU worker must not take down the Space
202
  print(f"[warmup] failed (will warm lazily on first request): {e!r}", flush=True)
203
 
204
+ CSS='''
205
+ .dark .gradio-container { color: var(--body-text-color); }
206
+ '''
207
+ with gr.Blocks(theme=gr.themes.Citrus(), title="Ideogram 4", css=CSS) as demo:
208
  gr.Markdown(
209
  "# Ideogram 4\n"
210
  "Ideogram's first open-weights model — a 9.3B-parameter text-to-image foundation model at the "