Spaces:
Sleeping
Sleeping
Raj Singh
commited on
Commit
•
754d1db
1
Parent(s):
8ad1997
Update app.py
Browse files
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,
|
8 |
-
from transformers import
|
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 |
-
#
|
113 |
-
dark_theme = gr.themes.
|
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 |
|