Spaces:
Runtime error
Runtime error
RohitGandikota
commited on
Commit
Β·
11af5bd
1
Parent(s):
b47ddec
fixing ui
Browse files
app.py
CHANGED
|
@@ -115,13 +115,6 @@ class Demo:
|
|
| 115 |
|
| 116 |
with gr.Row():
|
| 117 |
|
| 118 |
-
self.model_type = gr.Dropdown(
|
| 119 |
-
label="Model",
|
| 120 |
-
choices= ['SDXL Turbo', 'SDXL'],
|
| 121 |
-
value='SDXL Turbo',
|
| 122 |
-
interactive=True
|
| 123 |
-
)
|
| 124 |
-
|
| 125 |
self.model_dropdown = gr.Dropdown(
|
| 126 |
label="Pretrained Sliders",
|
| 127 |
choices= list(model_map.keys()),
|
|
@@ -149,7 +142,12 @@ class Demo:
|
|
| 149 |
label="SDEdit Timestep",
|
| 150 |
info="Choose smaller values for more structural preservation"
|
| 151 |
)
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
with gr.Column(scale=2):
|
| 154 |
|
| 155 |
self.infr_button = gr.Button(
|
|
|
|
| 115 |
|
| 116 |
with gr.Row():
|
| 117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
self.model_dropdown = gr.Dropdown(
|
| 119 |
label="Pretrained Sliders",
|
| 120 |
choices= list(model_map.keys()),
|
|
|
|
| 142 |
label="SDEdit Timestep",
|
| 143 |
info="Choose smaller values for more structural preservation"
|
| 144 |
)
|
| 145 |
+
self.model_type = gr.Dropdown(
|
| 146 |
+
label="Model",
|
| 147 |
+
choices= ['SDXL Turbo', 'SDXL'],
|
| 148 |
+
value='SDXL Turbo',
|
| 149 |
+
interactive=True
|
| 150 |
+
)
|
| 151 |
with gr.Column(scale=2):
|
| 152 |
|
| 153 |
self.infr_button = gr.Button(
|