Update app.py
Browse files
app.py
CHANGED
|
@@ -257,11 +257,15 @@ def ui():
|
|
| 257 |
with gr.Row():
|
| 258 |
secret_token = gr.Text(label='Secret Token', max_lines=1)
|
| 259 |
|
|
|
|
|
|
|
|
|
|
| 260 |
base_model_dropdown = gr.Dropdown(
|
| 261 |
label="Select base Dreambooth model (required)",
|
| 262 |
choices=controller.personalized_model_list,
|
| 263 |
interactive=True,
|
| 264 |
-
|
|
|
|
| 265 |
)
|
| 266 |
base_model_dropdown.change(fn=controller.update_base_model, inputs=[
|
| 267 |
base_model_dropdown], outputs=[base_model_dropdown])
|
|
|
|
| 257 |
with gr.Row():
|
| 258 |
secret_token = gr.Text(label='Secret Token', max_lines=1)
|
| 259 |
|
| 260 |
+
# TODO: find a way to use this to filter the dropdown
|
| 261 |
+
#base_model = gr.Text(label="Base model")
|
| 262 |
+
|
| 263 |
base_model_dropdown = gr.Dropdown(
|
| 264 |
label="Select base Dreambooth model (required)",
|
| 265 |
choices=controller.personalized_model_list,
|
| 266 |
interactive=True,
|
| 267 |
+
"cartoon3d.safetensors"
|
| 268 |
+
# value="realistic2.safetensors"
|
| 269 |
)
|
| 270 |
base_model_dropdown.change(fn=controller.update_base_model, inputs=[
|
| 271 |
base_model_dropdown], outputs=[base_model_dropdown])
|