Raj Singh commited on
Commit
754d1db
1 Parent(s): 8ad1997

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -4,8 +4,8 @@ import numpy as np
4
  import random
5
  import spaces
6
  import torch
7
- from diffusers import DiffusionPipeline, FlowMatchEulerDiscreteScheduler, AutoencoderTiny, AutoencoderKL
8
- from transformers import CLIPTextModel, CLIPTokenizer, T5EncoderModel, T5TokenizerFast
9
  from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
10
  import os
11
 
@@ -109,8 +109,8 @@ body {
109
  }
110
  """
111
 
112
- # Define the dark theme using gr.themes.Default with base='dark'
113
- dark_theme = gr.themes.Default(base="dark")
114
 
115
  with gr.Blocks(theme=dark_theme, css=css) as demo:
116
 
 
4
  import random
5
  import spaces
6
  import torch
7
+ from diffusers import DiffusionPipeline, AutoencoderTiny, AutoencoderKL
8
+ from transformers import T5EncoderModel, T5TokenizerFast
9
  from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
10
  import os
11
 
 
109
  }
110
  """
111
 
112
+ # Use a predefined dark theme
113
+ dark_theme = gr.themes.Monochrome()
114
 
115
  with gr.Blocks(theme=dark_theme, css=css) as demo:
116